(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)
authorDarkvater
Sat, 09 Jul 2005 00:14:40 +0000
changeset 2027 eda8a7e8aad2
parent 2026 02dfa0aa2c2f
child 2028 d7686f53adf2
(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)
spritecache.c
--- a/spritecache.c	Fri Jul 08 22:25:24 2005 +0000
+++ b/spritecache.c	Sat Jul 09 00:14:40 2005 +0000
@@ -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