shithub: choc

Download patch

ref: f186ecd1ae72f3a76336cc6be983ea1d549b8e6b
parent: 695895ddb2231ffed9284dd5346d1c6007e5c4df
author: Turo Lamminen <turotl@gmail.com>
date: Tue Mar 27 15:35:13 EDT 2018

textscreen: Fix const correctness issue in guitest

--- a/textscreen/examples/guitest.c
+++ b/textscreen/examples/guitest.c
@@ -34,7 +34,7 @@
 // also put some crazy extensions to test the escape function. a"b"c"""dd
 const char *extensions[] = { "wad", "lmp", "txt", "a\"b\"c\"\"\"dd", "",
      "\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"", NULL };
-char *radio_values[] = { "Badger", "Mushroom", "Snake" };
+const char *radio_values[] = { "Badger", "Mushroom", "Snake" };
 char *textbox_value = NULL;
 int numbox_value = 0;
 int radiobutton_value;