changeset 2027:5465e050eef5 draft

(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)
author Darkvater <Darkvater@openttd.org>
date Sat, 09 Jul 2005 00:14:40 +0000
parents 480a107508f8
children 1bae306d5a7e
files spritecache.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/spritecache.c
+++ b/spritecache.c
@@ -831,7 +831,7 @@
 			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