diff --git a/src/unix.cpp b/src/unix.cpp index cd32b76314..fa49eca4df 100644 --- a/src/unix.cpp +++ b/src/unix.cpp @@ -111,7 +111,7 @@ static void ChangeWorkingDirectory(char *exe) void ShowInfo(const char *str) { - fprintf(stderr, str); + fprintf(stderr, "%s\n", str); } void ShowOSErrorBox(const char *buf) diff --git a/src/win32.cpp b/src/win32.cpp index b41204a9d8..82611513e1 100644 --- a/src/win32.cpp +++ b/src/win32.cpp @@ -838,7 +838,7 @@ void CreateConsole(void) void ShowInfo(const char *str) { if (_has_console) { - fprintf(stderr, str); + fprintf(stderr, "%s\n", str); } else { bool old;