shithub: choc

Download patch

ref: 7bd251b206105a611a9565af397b7fec548e669b
parent: 284c14fee88b22e9d8c37eed7d6bb50cd1adc6bd
author: Turo Lamminen <turotl@gmail.com>
date: Tue Jan 29 14:58:39 EST 2019

strife: Make cursorName contents const

--- a/src/strife/m_menu.c
+++ b/src/strife/m_menu.c
@@ -146,8 +146,8 @@
 
 // graphic name of cursors
 // haleyjd 08/27/10: [STRIFE] M_SKULL* -> M_CURS*
-char    *cursorName[8] = {"M_CURS1", "M_CURS2", "M_CURS3", "M_CURS4", 
-                          "M_CURS5", "M_CURS6", "M_CURS7", "M_CURS8" };
+const char *cursorName[8] = {"M_CURS1", "M_CURS2", "M_CURS3", "M_CURS4",
+                             "M_CURS5", "M_CURS6", "M_CURS7", "M_CURS8" };
 
 // haleyjd 20110210 [STRIFE]: skill level for menus
 int menuskill;