1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

More minGW fixes.

This commit is contained in:
Darryl Pogue
2012-02-04 23:16:53 -08:00
parent a6cadfa403
commit c815fd8a14
6 changed files with 22 additions and 14 deletions

View File

@ -443,7 +443,7 @@ const wchar_t* plProfileManagerFull::GetProfilePath()
plFileUtils::CreateDir(profilePath);
wchar_t buff[256];
swprintf(buff, 256, L"%02d-%02d-%04d_%02d-%02d//",
hsSnwprintf(buff, 256, L"%02d-%02d-%04d_%02d-%02d//",
curTime.GetMonth(),
curTime.GetDay(),
curTime.GetYear(),
@ -460,7 +460,7 @@ const wchar_t* plProfileManagerFull::GetProfilePath()
void plProfileManagerFull::ILogStats()
{
wchar_t statFilename[256];
swprintf(statFilename, 256, L"%s%s.csv", GetProfilePath(), fLogAgeName.c_str());
hsSnwprintf(statFilename, 256, L"%s%s.csv", GetProfilePath(), fLogAgeName.c_str());
bool exists = plFileUtils::FileExists(statFilename);