setup: Make AddKeyControl name parameter const

This commit is contained in:
Turo Lamminen 2019-01-22 19:02:29 +02:00
parent ed72f3fc75
commit e0b005e61a

View file

@ -146,7 +146,7 @@ static void KeySetCallback(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(variable))
// 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;