log fixes (to wx_str())

This commit is contained in:
Nekotekina 2014-02-13 20:59:13 +04:00
parent a6faf04db4
commit 5a240c32a9
41 changed files with 215 additions and 183 deletions

View file

@ -349,12 +349,12 @@ void CPUThread::Task()
}
catch(const char* e)
{
ConLog.Error("Exception: %s", e);
ConLog.Error("Exception: %s", wxString(e).wx_str());
}
catch(int exitcode)
{
ConLog.Success("Exit Code: %d", exitcode);
}
ConLog.Write("%s leave", CPUThread::GetFName());
ConLog.Write("%s leave", CPUThread::GetFName().wx_str());
}