shithub: choc

Download patch

ref: ebc8378619e9ddca26eb7cda1f4a4f2be1e98091
parent: 2c165cde1ba5fb426cbfcaf27b65af0243bb8f7a
author: Simon Howard <[email protected]>
date: Mon May 11 14:30:52 EDT 2009

Fix crash on Heretic startup.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1519

--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -541,8 +541,11 @@
 
 void status(char *string)
 {
-    strcat(smsg, string);
-    drawstatus();
+    if (using_graphical_startup)
+    {
+        strcat(smsg, string);
+        drawstatus();
+    }
 }
 
 void DrawThermo(void)