foxygit / doom Log in
commit f186ecd1ae72f3a76336cc6be983ea1d549b8e6b
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Mar 27 19:35:13 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Mar 27 19:35:13 2018 +0300

    textscreen: Fix const correctness issue in guitest
---
 textscreen/examples/guitest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/textscreen/examples/guitest.c b/textscreen/examples/guitest.c
index faa5d28b..1df95ce4 100644
--- a/textscreen/examples/guitest.c
+++ b/textscreen/examples/guitest.c
@@ -34,7 +34,7 @@ enum
 // 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;