summaryrefslogtreecommitdiff
path: root/src/win32.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2007-01-09 21:25:13 +0000
committerDarkvater <darkvater@openttd.org>2007-01-09 21:25:13 +0000
commit6c3187213d174617ddbd89b2c70da86f71c5f906 (patch)
tree275ce019147376c73a22d33b7d42d17f53321b9f /src/win32.c
parentfe1ac3c5d17a2017a92c0661eed136bd8812411e (diff)
downloadopenttd-6c3187213d174617ddbd89b2c70da86f71c5f906.tar.xz
(svn r8013) -Codechange (r6921, rUnknown): Show the error message of corrupt or missing (own) files
through a ShowInfo(F). This way windows users also see this message and bugs such as FS#528 will not happen anymore. Put ShowInfo(F) error output to stderr and not stdout.
Diffstat (limited to 'src/win32.c')
-rw-r--r--src/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32.c b/src/win32.c
index da622d19d..f2fe5b110 100644
--- a/src/win32.c
+++ b/src/win32.c
@@ -836,7 +836,7 @@ void CreateConsole(void)
void ShowInfo(const char *str)
{
if (_has_console) {
- puts(str);
+ fprintf(stderr, str);
} else {
bool old;