|
|
@ -323,7 +323,7 @@ void PatcherLog(PatcherLogType type, const char* format, ...) |
|
|
|
if (type == kError) |
|
|
|
if (type == kError) |
|
|
|
{ |
|
|
|
{ |
|
|
|
sLastError = new char[1024]; // Deleted by Finish(false)
|
|
|
|
sLastError = new char[1024]; // Deleted by Finish(false)
|
|
|
|
vsprintf(sLastError, format, args); |
|
|
|
vsnprintf(sLastError, 1024, format, args); |
|
|
|
gStatusLog->AddLine(sLastError, color); |
|
|
|
gStatusLog->AddLine(sLastError, color); |
|
|
|
} else |
|
|
|
} else |
|
|
|
gStatusLog->AddLineV(color, format, args); |
|
|
|
gStatusLog->AddLineV(color, format, args); |
|
|
|