foxygit / doom Log in
commit 19202f1c52035e4a10e5857f7c23f0ea640c5359
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat Jul 28 15:43:29 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jul 31 18:30:08 2018 +0300

    doom: Fix constness issue in HU_Responder
---
 src/doom/hu_stuff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/doom/hu_stuff.c b/src/doom/hu_stuff.c
index c09de337..fd14c837 100644
--- a/src/doom/hu_stuff.c
+++ b/src/doom/hu_stuff.c
@@ -591,7 +591,7 @@ boolean HU_Responder(event_t *ev)
 {

     static char		lastmessage[HU_MAXLINELENGTH+1];
-    char*		macromessage;
+    const char		*macromessage;
     boolean		eatkey = false;
     static boolean	altdown = false;
     unsigned char 	c;