From 038f76f18084e6a338e106cae72483105b653a8b Mon Sep 17 00:00:00 2001 From: ZipFile Date: Sun, 16 Oct 2011 02:32:06 +0200 Subject: [PATCH] How does it work before? Fixed 338 bug and probably targeting with loadingwindow. --- src/RageFileManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/RageFileManager.cpp b/src/RageFileManager.cpp index b107a27a51..7e783ad1d4 100644 --- a/src/RageFileManager.cpp +++ b/src/RageFileManager.cpp @@ -248,6 +248,8 @@ static void ChangeToDirOfExecutable( const RString &argv0 ) * written through RageFile. See also RageFileManager::RageFileManager. */ #if defined(_WINDOWS) chdir( RageFileManagerUtil::sDirOfExecutable + "/.." ); +#elif defined(UNIX) + chdir( RageFileManagerUtil::sDirOfExecutable + "/" ); #elif defined(MACOSX) /* If the basename is not MacOS, then we've likely been launched via the command line * through a symlink. Assume this is the case and change to the dir of the symlink. */