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

    doom: Make msgNames contents const
---
 src/doom/m_menu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/doom/m_menu.c b/src/doom/m_menu.c
index 59023fd7..8015f431 100644
--- a/src/doom/m_menu.c
+++ b/src/doom/m_menu.c
@@ -939,7 +939,7 @@ void M_Episode(int choice)
 // M_Options
 //
 static const char *detailNames[2] = {"M_GDHIGH","M_GDLOW"};
-static char *msgNames[2] = {"M_MSGOFF","M_MSGON"};
+static const char *msgNames[2] = {"M_MSGOFF","M_MSGON"};

 void M_DrawOptions(void)
 {