shithub: choc

Download patch

ref: ed72f3fc752d255bc54c982c7709980fe8e8fa94
parent: 04535a58e80e78c32015a3af212c01c34e3e60bc
author: Turo Lamminen <[email protected]>
date: Tue Jan 22 14:01:12 EST 2019

setup: Make AddJoystickControl label parameter const

--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -972,7 +972,7 @@
 // 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;