shithub: choc

Download patch

ref: e0b005e61ac8fec632969c174d07f2c9652c0b4e
parent: ed72f3fc752d255bc54c982c7709980fe8e8fa94
author: Turo Lamminen <[email protected]>
date: Tue Jan 22 14:02:29 EST 2019

setup: Make AddKeyControl name parameter const

--- a/src/setup/keyboard.c
+++ b/src/setup/keyboard.c
@@ -146,7 +146,7 @@
 
 // Add a label and keyboard input to the specified table.
 
-static void AddKeyControl(TXT_UNCAST_ARG(table), char *name, int *var)
+static void AddKeyControl(TXT_UNCAST_ARG(table), const char *name, int *var)
 {
     TXT_CAST_ARG(txt_table_t, table);
     txt_key_input_t *key_input;