mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
utils: add missing new lines to debug/error output
This commit is contained in:
parent
5e37e95ef9
commit
cb4b9638c8
1 changed files with 2 additions and 2 deletions
|
@ -197,7 +197,7 @@ SYMBOL_EXPORT void FatalError(struct Game* game, bool exit, char* format, ...) {
|
|||
vsnprintf(text, 1024, format, vl);
|
||||
SUPPRESS_END
|
||||
va_end(vl);
|
||||
fprintf(stderr, "%s", text);
|
||||
fprintf(stderr, "%s\n", text);
|
||||
|
||||
// TODO: synchronize with loading thread
|
||||
|
||||
|
@ -396,7 +396,7 @@ SYMBOL_EXPORT void PrintConsole(struct Game* game, char* format, ...) {
|
|||
va_end(vl);
|
||||
|
||||
SUPPRESS_WARNING("-Wused-but-marked-unused")
|
||||
ALLEGRO_DEBUG("%s", text);
|
||||
ALLEGRO_DEBUG("%s\n", text);
|
||||
SUPPRESS_END
|
||||
|
||||
#ifndef __EMSCRIPTEN__
|
||||
|
|
Loading…
Reference in a new issue