shithub: choc

Download patch

ref: 7660e72fe86c17a43d1ee51df34ff7aa0ac5b5ca
parent: e822d5dfeca153088e1c1d1bb6a531f3f9484901
author: Turo Lamminen <[email protected]>
date: Tue Aug 7 14:37:14 EDT 2018

hexen: Make MenuItem_t text member const

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