From 62db889664e7c6bb74fc5268ff7de111bc4f6c25 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sun, 14 Jan 2007 22:39:53 +0000 Subject: (svn r8134) -Fix (r8013): Add a newline after the ShowInfo console output --- src/unix.cpp | 2 +- src/win32.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2