foxygit / doom Log in
commit 0ad55d18f3275b0bf32ffad90198e300f7c005b9
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Jan 22 19:16:27 2019 +0200
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jan 22 19:16:27 2019 +0200

    setup: Make known_joystick_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 ed9d1a84..07388735 100644
--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -39,7 +39,7 @@ typedef struct

 typedef struct
 {
-    char *name;
+    const char *name;
     int axes, buttons, hats;
     const joystick_config_t *configs;
 } known_joystick_t;