after we change to the directory with the executable, we need to clear out the FileDB cache.

This commit is contained in:
Thad Ward
2003-09-14 21:25:59 +00:00
parent 824fe8c138
commit 7a74387658
+3
View File
@@ -109,7 +109,10 @@ static void ChangeToDirOfExecutable(const char *argv0)
* are and use paths as needed, so we don't depend on the binary being
* in the same place as "Songs" ... */
if( !DoesFileExist("Songs") )
{
chdir( DirOfExecutable );
FlushDirCache();
}
#endif
}