setup: Make AddMouseControl label parameter const

This commit is contained in:
Turo Lamminen 2019-01-22 19:07:54 +02:00
parent 6e18c2ecdc
commit 80816d0725

View file

@ -67,7 +67,7 @@ static void MouseSetCallback(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(variable))
}
}
static void AddMouseControl(TXT_UNCAST_ARG(table), char *label, int *var)
static void AddMouseControl(TXT_UNCAST_ARG(table), const char *label, int *var)
{
TXT_CAST_ARG(txt_table_t, table);
txt_mouse_input_t *mouse_input;