summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-07-09 00:14:40 +0000
committerDarkvater <Darkvater@openttd.org>2005-07-09 00:14:40 +0000
commit93a3b7e0a100ab118e57fee94935ec8148602962 (patch)
treee95230b3bae64b1192f55d488059eac72c26008a
parent1307f90b5e26860f8cb4401256bbf78a7593ac58 (diff)
downloadopenttd-93a3b7e0a100ab118e57fee94935ec8148602962.tar.xz
(svn r2536) - Fix: [ 1215999 ] Segmentation fault in main menu - corrupted sample.cat. Flush the output buffer to print the error message before the game crashes. (mcmohr)
-rw-r--r--spritecache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spritecache.c b/spritecache.c
index 37c7ce6cc..a691f261c 100644
--- a/spritecache.c
+++ b/spritecache.c
@@ -831,7 +831,7 @@ void CheckExternalFiles(void)
win++;
if (!FileMD5(sample_cat_win, false) && !FileMD5(sample_cat_dos, false))
- printf("Your sample.cat file is corrupted or missing!");
+ printf("Your sample.cat file is corrupted or missing!\n");
/*
* forced DOS palette via command line -> leave it that way