Changeset - r5674:b8be7c01484f
[Not reviewed]
master
0 2 0
Darkvater - 18 years ago 2007-01-14 22:39:53
darkvater@openttd.org
(svn r8134) -Fix (r8013): Add a newline after the ShowInfo console output
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/unix.cpp
Show inline comments
 
@@ -108,13 +108,13 @@ static void ChangeWorkingDirectory(char 
 
	}
 
}
 
#endif
 

	
 
void ShowInfo(const char *str)
 
{
 
	fprintf(stderr, str);
 
	fprintf(stderr, "%s\n", str);
 
}
 

	
 
void ShowOSErrorBox(const char *buf)
 
{
 
#if defined(__APPLE__)
 
	// this creates an NSAlertPanel with the contents of 'buf'
src/win32.cpp
Show inline comments
 
@@ -835,13 +835,13 @@ void CreateConsole(void)
 
	setvbuf(stderr, NULL, _IONBF, 0);
 
}
 

	
 
void ShowInfo(const char *str)
 
{
 
	if (_has_console) {
 
		fprintf(stderr, str);
 
		fprintf(stderr, "%s\n", str);
 
	} else {
 
		bool old;
 

	
 
		ReleaseCapture();
 
		_left_button_clicked =_left_button_down = false;
 

	
0 comments (0 inline, 0 general)