shithub: choc

Download patch

ref: e9c6e30c89fb1f763690ecbb73f1cff479cb2fd1
parent: 82ff0b70095060015274ae80c8dd66bb55011c26
author: Turo Lamminen <turotl@gmail.com>
date: Tue Aug 7 13:26:53 EDT 2018

heretic: Make MenuItem_t text member const

--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -69,7 +69,7 @@
 typedef struct
 {
     ItemType_t type;
-    char *text;
+    const char *text;
     boolean(*func) (int option);
     int option;
     MenuType_t menu;