# HG changeset patch # User rubidium # Date 2007-03-17 14:15:21 # Node ID 69995de8f70d1c7221577db8efe23d77c91cd577 # Parent 48fa3b65b6bbd90120018f5d656f02cc22858087 (svn r9267) -Fix (r9266): some leftover includes and erronous call to ChangeWorkingDirectory (it was moved). diff --git a/src/os2.cpp b/src/os2.cpp --- a/src/os2.cpp +++ b/src/os2.cpp @@ -158,9 +158,6 @@ void ShowOSErrorBox(const unsigned char int CDECL main(int argc, char* argv[]) { - // change the working directory to enable doubleclicking in UIs - ChangeWorkingDirectory(argv[0]); - _random_seeds[1][1] = _random_seeds[1][0] = _random_seeds[0][1] = _random_seeds[0][0] = time(NULL); return ttd_main(argc, argv); diff --git a/src/unix.cpp b/src/unix.cpp --- a/src/unix.cpp +++ b/src/unix.cpp @@ -14,10 +14,6 @@ #include #include -#ifdef USE_HOMEDIR -#include -#endif - #if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) || defined(__GLIBC__) #define HAS_STATVFS #endif