File diff r12009:28cf5f05f012 → r12010:5513d8f8e97d
src/fileio.cpp
Show inline comments
 
@@ -859,13 +859,13 @@ void DetermineBasePaths(const char *exe)
 
	if (getcwd(tmp, MAX_PATH) == NULL) *tmp = '\0';
 
	AppendPathSeparator(tmp, MAX_PATH);
 
	_searchpaths[SP_WORKING_DIR] = strdup(tmp);
 
#endif
 

	
 
	/* Change the working directory to that one of the executable */
 
	ChangeWorkingDirectory((char*)exe);
 
	ChangeWorkingDirectory(exe);
 
	if (getcwd(tmp, MAX_PATH) == NULL) *tmp = '\0';
 
	AppendPathSeparator(tmp, MAX_PATH);
 
	_searchpaths[SP_BINARY_DIR] = strdup(tmp);
 

	
 
#if defined(__MORPHOS__) || defined(__AMIGA__) || defined(DOS) || defined(OS2)
 
	_searchpaths[SP_INSTALLATION_DIR] = NULL;