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

    doom: Make detailNames 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 304534e9..59023fd7 100644
--- a/src/doom/m_menu.c
+++ b/src/doom/m_menu.c
@@ -938,7 +938,7 @@ void M_Episode(int choice)
 //
 // M_Options
 //
-static char *detailNames[2] = {"M_GDHIGH","M_GDLOW"};
+static const char *detailNames[2] = {"M_GDHIGH","M_GDLOW"};
 static char *msgNames[2] = {"M_MSGOFF","M_MSGON"};

 void M_DrawOptions(void)