1
0
Fork 0

(svn r15113) -Codechange: unify calling ScanForTarFiles when determining the paths.

release/0.7
rubidium 2009-01-16 16:32:48 +00:00
parent c333790dd8
commit 102cc11ee9
2 changed files with 2 additions and 5 deletions

View File

@ -882,8 +882,6 @@ extern void cocoaSetApplicationBundleDir();
#else #else
_searchpaths[SP_APPLICATION_BUNDLE_DIR] = NULL; _searchpaths[SP_APPLICATION_BUNDLE_DIR] = NULL;
#endif #endif
ScanForTarFiles();
} }
#endif /* defined(WIN32) || defined(WINCE) */ #endif /* defined(WIN32) || defined(WINCE) */
@ -952,6 +950,8 @@ void DeterminePaths(const char *exe)
free(save_dir); free(save_dir);
free(autosave_dir); free(autosave_dir);
ScanForTarFiles();
} }
/** /**

View File

@ -1045,7 +1045,6 @@ char *getcwd(char *buf, size_t size)
void DetermineBasePaths(const char *exe) void DetermineBasePaths(const char *exe)
{ {
extern void ScanForTarFiles();
char tmp[MAX_PATH]; char tmp[MAX_PATH];
TCHAR path[MAX_PATH]; TCHAR path[MAX_PATH];
#ifdef WITH_PERSONAL_DIR #ifdef WITH_PERSONAL_DIR
@ -1091,8 +1090,6 @@ void DetermineBasePaths(const char *exe)
_searchpaths[SP_INSTALLATION_DIR] = NULL; _searchpaths[SP_INSTALLATION_DIR] = NULL;
_searchpaths[SP_APPLICATION_BUNDLE_DIR] = NULL; _searchpaths[SP_APPLICATION_BUNDLE_DIR] = NULL;
ScanForTarFiles();
} }
/** /**