diff options
Diffstat (limited to 'util.cpp')
-rw-r--r-- | util.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -604,7 +604,8 @@ void GetDataDir(char* pszDir) static char pszCachedDir[MAX_PATH];
if (pszCachedDir[0] == 0)
{
- strlcpy(pszCachedDir, wxStandardPaths::Get().GetUserDataDir().c_str(), sizeof(pszCachedDir));
+ //strlcpy(pszCachedDir, wxStandardPaths::Get().GetUserDataDir().c_str(), sizeof(pszCachedDir));
+ strlcpy(pszCachedDir, GetDefaultDataDir().c_str(), sizeof(pszCachedDir));
_mkdir(pszCachedDir);
}
strlcpy(pszDir, pszCachedDir, MAX_PATH);
|