Apply patch to improve paths on osx
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14869 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
823a40e45e
commit
245910d3a7
@ -151,7 +151,7 @@ FileManager::FileManager(char *argv[])
|
||||
if ( getenv ( "SUPERTUXKART_DATADIR" ) != NULL )
|
||||
root_dir = std::string(getenv("SUPERTUXKART_DATADIR"))+"/" ;
|
||||
#ifdef __APPLE__
|
||||
else if( macSetBundlePathIfRelevant( root_dir ) ) { root_dir = root_dir + "/data/"; }
|
||||
else if( macSetBundlePathIfRelevant( root_dir ) ) { root_dir = root_dir + "data/"; }
|
||||
#endif
|
||||
else if(m_file_system->existFile("data"))
|
||||
root_dir = "data/" ;
|
||||
|
Loading…
Reference in New Issue
Block a user