shithub: choc

Download patch

ref: 61fe0bfe53cf383e7eb6260bd6f99299cc15a3aa
parent: 475b0601c85983be8bdc8c6c32d9564ad120a371
author: Turo Lamminen <[email protected]>
date: Tue Apr 24 15:58:02 EDT 2018

heretic: Make MN_DrTextA text parameter const

--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -818,7 +818,7 @@
 boolean MN_Responder(event_t * event);
 void MN_Ticker(void);
 void MN_Drawer(void);
-void MN_DrTextA(char *text, int x, int y);
+void MN_DrTextA(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/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -330,7 +330,7 @@
 //
 //---------------------------------------------------------------------------
 
-void MN_DrTextA(char *text, int x, int y)
+void MN_DrTextA(const char *text, int x, int y)
 {
     char c;
     patch_t *p;