shithub: choc

Download patch

ref: 5a7cb09524ad939936d8788dc5dfe9944bdcee03
parent: 0ec616b898ffa715d0ca27cfad6ffd4510bbb885
author: Turo Lamminen <turotl@gmail.com>
date: Tue Jan 22 14:15:41 EST 2019

setup: Make joystick_config_t name member const

--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -33,7 +33,7 @@
 
 typedef struct
 {
-    char *name;  // Config file name
+    const char *name;  // Config file name
     int value;
 } joystick_config_t;