mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
AGS: Remove extra newlines from debug messages
This commit is contained in:
@@ -122,7 +122,7 @@ void AGSPlatformDriver::WriteStdOut(const char *fmt, ...) {
|
||||
Common::String str = Common::String::vformat(fmt, args);
|
||||
va_end(args);
|
||||
|
||||
debug("%s\n", str.c_str());
|
||||
debug("%s", str.c_str());
|
||||
}
|
||||
|
||||
void AGSPlatformDriver::WriteStdErr(const char *fmt, ...) {
|
||||
@@ -131,7 +131,7 @@ void AGSPlatformDriver::WriteStdErr(const char *fmt, ...) {
|
||||
Common::String str = Common::String::vformat(fmt, args);
|
||||
va_end(args);
|
||||
|
||||
debug("ERROR: %s\n", str.c_str());
|
||||
debug("ERROR: %s", str.c_str());
|
||||
}
|
||||
|
||||
void AGSPlatformDriver::YieldCPU() {
|
||||
|
||||
Reference in New Issue
Block a user