commit ed72f3fc752d255bc54c982c7709980fe8e8fa94
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Jan 22 19:01:12 2019 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jan 22 19:01:12 2019 +0200
setup: Make AddJoystickControl label parameter const
---
src/setup/joystick.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/setup/joystick.c b/src/setup/joystick.c
index b8600ef5..83d0462f 100644
--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -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;