changeset 5674:a9b2df5251d6 draft

(svn r8134) -Fix (r8013): Add a newline after the ShowInfo console output
author Darkvater <Darkvater@openttd.org>
date Sun, 14 Jan 2007 22:39:53 +0000
parents 397c30519888
children bb2c918eaf8a
files src/unix.cpp src/win32.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/unix.cpp
+++ b/src/unix.cpp
@@ -111,7 +111,7 @@
 
 void ShowInfo(const char *str)
 {
-	fprintf(stderr, str);
+	fprintf(stderr, "%s\n", str);
 }
 
 void ShowOSErrorBox(const char *buf)
--- a/src/win32.cpp
+++ b/src/win32.cpp
@@ -838,7 +838,7 @@
 void ShowInfo(const char *str)
 {
 	if (_has_console) {
-		fprintf(stderr, str);
+		fprintf(stderr, "%s\n", str);
 	} else {
 		bool old;