Fixed bug in dc::blit()
Redid fix in fileconf FortyThieves works now.. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -113,9 +113,12 @@ wxString wxFileConfig::GetLocalDir()
|
||||
wxString strDir;
|
||||
|
||||
wxGetHomeDir(&strDir);
|
||||
|
||||
if (strDir.Last() != '/' && strDir.Last() != '\\')
|
||||
strDir += "/";
|
||||
|
||||
#ifdef __UNIX__
|
||||
if (strDir.Last() != '/') strDir << '/';
|
||||
#else
|
||||
if (strDir.Last() != '\\') strDir << '\\';
|
||||
#endif
|
||||
|
||||
return strDir;
|
||||
}
|
||||
@@ -149,7 +152,7 @@ wxString wxFileConfig::GetLocalFileName(const char *szFile)
|
||||
if ( strchr(szFile, '.') == NULL )
|
||||
str << ".ini";
|
||||
#endif
|
||||
|
||||
|
||||
return str;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user