commit 79d1b19e6148ba3bbb570353d1aeff71bb2dca52
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Aug 7 18:30:15 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Aug 7 18:45:11 2018 +0300
hexen: Make MN_DrTextAYellow text parameter const
---
src/hexen/h2def.h | 2 +-
src/hexen/mn_menu.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h
index 0d4dabd0..319c5fe0 100644
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -1060,7 +1060,7 @@ boolean MN_Responder(event_t * event);
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);
diff --git a/src/hexen/mn_menu.c b/src/hexen/mn_menu.c
index 911f0aa8..bb7eefad 100644
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -365,7 +365,7 @@ 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)
{
char c;
patch_t *p;