(svn r8134) -Fix (r8013): Add a newline after the ShowInfo console output
authorDarkvater
Sun, 14 Jan 2007 22:39:53 +0000
changeset 5925 f8e678955ef1
parent 5924 077448ca4bf2
child 5926 97834f38dab2
(svn r8134) -Fix (r8013): Add a newline after the ShowInfo console output
src/unix.cpp
src/win32.cpp
--- a/src/unix.cpp	Sun Jan 14 21:50:56 2007 +0000
+++ b/src/unix.cpp	Sun Jan 14 22:39:53 2007 +0000
@@ -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	Sun Jan 14 21:50:56 2007 +0000
+++ b/src/win32.cpp	Sun Jan 14 22:39:53 2007 +0000
@@ -838,7 +838,7 @@
 void ShowInfo(const char *str)
 {
 	if (_has_console) {
-		fprintf(stderr, str);
+		fprintf(stderr, "%s\n", str);
 	} else {
 		bool old;