ref: 7209e8aba342ff874469408fecc2204d5aae4aa5
parent: 062e8870ff0803932cce856c73bc4a9fd5d697eb
author: Turo Lamminen <[email protected]>
date: Tue Aug 7 14:28:44 EDT 2018
hexen: Make MN_DrTextA text parameter const
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -1059,7 +1059,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);
void MN_DrTextAYellow(char *text, int x, int y);
int MN_TextAWidth(char *text);
void MN_DrTextB(char *text, int x, int y);
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -339,7 +339,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;