mirror of
https://github.com/glest/glest-source.git
synced 2025-08-15 04:43:58 +02:00
remove usless output from error message
This commit is contained in:
@@ -566,7 +566,7 @@ void SystemFlags::logDebugEntry(DebugType type, string debugEntry, time_t debugT
|
||||
(*currentDebugLog.fileStream) << "[" << szBuf2 << "] " << debugEntry.c_str();
|
||||
}
|
||||
else if (type == debugError) {
|
||||
(*currentDebugLog.fileStream) << "[" << szBuf2 << "] *ERROR* " << debugEntry.c_str();
|
||||
(*currentDebugLog.fileStream) << " *ERROR* " << debugEntry.c_str();
|
||||
}
|
||||
else {
|
||||
(*currentDebugLog.fileStream) << debugEntry.c_str();
|
||||
@@ -587,7 +587,7 @@ void SystemFlags::logDebugEntry(DebugType type, string debugEntry, time_t debugT
|
||||
printf("[%s] %s", szBuf2, debugEntry.c_str());
|
||||
}
|
||||
else if (type == debugError) {
|
||||
printf("[%s] *ERROR* %s", szBuf2, debugEntry.c_str());
|
||||
printf("*ERROR* %s", debugEntry.c_str());
|
||||
}
|
||||
else {
|
||||
printf("%s", debugEntry.c_str());
|
||||
|
Reference in New Issue
Block a user