diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/unix.cpp | 2 | ||||
-rw-r--r-- | src/win32.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/unix.cpp b/src/unix.cpp index cd32b7631..fa49eca4d 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 b41204a9d..82611513e 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; |