commit 61fe0bfe53cf383e7eb6260bd6f99299cc15a3aa
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Apr 24 19:58:02 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Apr 24 20:16:01 2018 +0300
heretic: Make MN_DrTextA text parameter const
---
src/heretic/doomdef.h | 2 +-
src/heretic/mn_menu.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/heretic/doomdef.h b/src/heretic/doomdef.h
index 5e3dc59b..aa42293f 100644
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -818,7 +818,7 @@ void MN_DeactivateMenu(void);
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);
diff --git a/src/heretic/mn_menu.c b/src/heretic/mn_menu.c
index 733c3181..866b2748 100644
--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -330,7 +330,7 @@ static void InitFonts(void)
//
//---------------------------------------------------------------------------
-void MN_DrTextA(char *text, int x, int y)
+void MN_DrTextA(const char *text, int x, int y)
{
char c;
patch_t *p;