switched from wxStandardPaths to GetDefaultDataDir, fixes bug reported by m0mchil when username contains non-lower-ASCII characters

-- version 0.3.1
This commit is contained in:
s_nakamoto
2010-07-09 15:29:48 +00:00
parent c8063ff034
commit f32339e700
4 changed files with 6 additions and 14 deletions

1
util.h
View File

@@ -144,6 +144,7 @@ void GetDataDir(char* pszDirRet);
#ifdef __WXMSW__
string MyGetSpecialFolderPath(int nFolder, bool fCreate);
#endif
string GetDefaultDataDir();
string GetDataDir();
void ShrinkDebugFile();
uint64 GetRand(uint64 nMax);