shithub: choc

Download patch

ref: e55a3e083dedfca820bd3c7885579bd5843d0e1b
parent: ecb08df603827c752b9762d4f6d4408b3093bccd
author: Turo Lamminen <[email protected]>
date: Tue May 15 14:34:25 EDT 2018

heretic: Fix const correctness issue in MN_Drawer

--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -472,8 +472,8 @@
     int x;
     int y;
     MenuItem_t *item;
-    char *message;
-    char *selName;
+    const char *message;
+    const char *selName;
 
     if (MenuActive == false)
     {