shithub: choc

Download patch

ref: 48f45bdd7ca3fd20dcaf9af74e6868c903ffe2e5
parent: e5a7f70fa8e3b333b33de14a26dd83609372325a
author: Turo Lamminen <[email protected]>
date: Tue May 15 14:25:04 EDT 2018

heretic: Make IN_DrTextB text parameter const

--- a/src/heretic/in_lude.c
+++ b/src/heretic/in_lude.c
@@ -60,7 +60,7 @@
 void IN_DrawDMStats(void);
 void IN_DrawNumber(int val, int x, int y, int digits);
 void IN_DrawTime(int x, int y, int h, int m, int s);
-void IN_DrTextB(char *text, int x, int y);
+void IN_DrTextB(const char *text, int x, int y);
 
 static boolean skipintermission;
 static int interstate = 0;
@@ -1047,7 +1047,7 @@
 //
 //========================================================================
 
-void IN_DrTextB(char *text, int x, int y)
+void IN_DrTextB(const char *text, int x, int y)
 {
     char c;
     patch_t *p;