shithub: choc

Download patch

ref: 79d1b19e6148ba3bbb570353d1aeff71bb2dca52
parent: 7209e8aba342ff874469408fecc2204d5aae4aa5
author: Turo Lamminen <[email protected]>
date: Tue Aug 7 14:30:15 EDT 2018

hexen: Make MN_DrTextAYellow text parameter const

--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -1060,7 +1060,7 @@
 void MN_Ticker(void);
 void MN_Drawer(void);
 void MN_DrTextA(const char *text, int x, int y);
-void MN_DrTextAYellow(char *text, int x, int y);
+void MN_DrTextAYellow(const char *text, int x, int y);
 int MN_TextAWidth(char *text);
 void MN_DrTextB(char *text, int x, int y);
 int MN_TextBWidth(char *text);
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -365,7 +365,7 @@
 //
 //==========================================================================
 
-void MN_DrTextAYellow(char *text, int x, int y)
+void MN_DrTextAYellow(const char *text, int x, int y)
 {
     char c;
     patch_t *p;