foxygit / doom Log in
commit 48f45bdd7ca3fd20dcaf9af74e6868c903ffe2e5
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue May 15 18:25:04 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue May 15 18:25:04 2018 +0300

    heretic: Make IN_DrTextB text parameter const
---
 src/heretic/in_lude.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/heretic/in_lude.c b/src/heretic/in_lude.c
index 0ca6f544..5c55c153 100644
--- a/src/heretic/in_lude.c
+++ b/src/heretic/in_lude.c
@@ -60,7 +60,7 @@ void IN_DrawCoopStats(void);
 void IN_DrawDMStats(void);
 void IN_DrawNumber(int val, int x, int y, int digits);
 void IN_DrawTime(int x, int y, int h, int m, int s);
-void IN_DrTextB(char *text, int x, int y);
+void IN_DrTextB(const char *text, int x, int y);

 static boolean skipintermission;
 static int interstate = 0;
@@ -1047,7 +1047,7 @@ void IN_DrawNumber(int val, int x, int y, int digits)
 //
 //========================================================================

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