setup: Make AddJoystickControl label parameter const
This commit is contained in:
parent
04535a58e8
commit
ed72f3fc75
1 changed files with 1 additions and 1 deletions
|
|
@ -972,7 +972,7 @@ static void CalibrateJoystick(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(unused))
|
|||
// GUI
|
||||
//
|
||||
|
||||
static void AddJoystickControl(TXT_UNCAST_ARG(table), char *label, int *var)
|
||||
static void AddJoystickControl(TXT_UNCAST_ARG(table), const char *label, int *var)
|
||||
{
|
||||
TXT_CAST_ARG(txt_table_t, table);
|
||||
txt_joystick_input_t *joy_input;
|
||||
|
|
|
|||
Loading…
Reference in a new issue