utils: add missing new lines to debug/error output

This commit is contained in:
Sebastian Krzyszkowiak 2018-01-21 03:18:51 +01:00
parent 5e37e95ef9
commit cb4b9638c8

View file

@ -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__