foxygit / doom Log in
commit fe5173fde94c26c498266ad89b21a985aea7900f
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Apr 24 20:13:06 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Apr 24 20:16:01 2018 +0300

    heretic: Make MN_DrTextB 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 4f12f76c..563832ef 100644
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -820,7 +820,7 @@ void MN_Ticker(void);
 void MN_Drawer(void);
 void MN_DrTextA(const char *text, int x, int y);
 int MN_TextAWidth(const char *text);
-void MN_DrTextB(char *text, int x, int y);
+void MN_DrTextB(const char *text, int x, int y);
 int MN_TextBWidth(char *text);

 #include "sounds.h"
diff --git a/src/heretic/mn_menu.c b/src/heretic/mn_menu.c
index 6e874797..f527e4a7 100644
--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -388,7 +388,7 @@ int MN_TextAWidth(const char *text)
 //
 //---------------------------------------------------------------------------

-void MN_DrTextB(char *text, int x, int y)
+void MN_DrTextB(const char *text, int x, int y)
 {
     char c;
     patch_t *p;