shithub: choc

Download patch

ref: f766714b811f7957754443db4766257bd01422ea
parent: e0b005e61ac8fec632969c174d07f2c9652c0b4e
author: Turo Lamminen <turotl@gmail.com>
date: Tue Jan 22 14:04:12 EST 2019

setup: Make AddSectionLabel title parameter const

--- a/src/setup/keyboard.c
+++ b/src/setup/keyboard.c
@@ -158,7 +158,7 @@
     TXT_SignalConnect(key_input, "set", KeySetCallback, var);
 }
 
-static void AddSectionLabel(TXT_UNCAST_ARG(table), char *title,
+static void AddSectionLabel(TXT_UNCAST_ARG(table), const char *title,
                             boolean add_space)
 {
     TXT_CAST_ARG(txt_table_t, table);