commit 5a7cb09524ad939936d8788dc5dfe9944bdcee03
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Jan 22 19:15:41 2019 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jan 22 19:15:41 2019 +0200
setup: Make joystick_config_t name member 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 83d0462f..ed9d1a84 100644
--- 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;