shithub: choc

Download patch

ref: b0cfaad6503c7eed272ac766573e697597c335d2
parent: f57c4033db3b9d02574615d03a14c37d90d2839c
author: Turo Lamminen <turotl@gmail.com>
date: Tue Aug 7 14:32:06 EDT 2018

hexen: Make MN_DrTextB text parameter const

--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -1062,7 +1062,7 @@
 void MN_DrTextA(const char *text, int x, int y);
 void MN_DrTextAYellow(const char *text, int x, int y);
 int MN_TextAWidth(const char *text);
-void MN_DrTextB(char *text, int x, int y);
+void MN_DrTextB(const char *text, int x, int y);
 int MN_TextBWidth(char *text);
 
 extern int messageson;
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -423,7 +423,7 @@
 //
 //---------------------------------------------------------------------------
 
-void MN_DrTextB(char *text, int x, int y)
+void MN_DrTextB(const char *text, int x, int y)
 {
     char c;
     patch_t *p;