Fixed config dir fallback on linux/unix; last resort should be ~/.supertuxkart, not ~/supertuxkart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
d34a697d5d
commit
6cba2be139
@ -428,6 +428,7 @@ void FileManager::checkAndCreateConfigDir()
|
||||
fprintf(stderr, "Can't create dir '%s', falling back to use '%s'.\n",
|
||||
m_config_dir.c_str(), getenv("HOME"));
|
||||
m_config_dir = getenv("HOME");
|
||||
m_config_dir += ".";
|
||||
}
|
||||
}
|
||||
# endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user