foxygit / doom Log in
commit cf3b0c54fd1094b699d49172fee2879442741884
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat May 19 15:48:27 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat May 19 15:52:48 2018 +0300

    doom: Make deh_cheat_t name member const
---
 src/doom/deh_cheat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/doom/deh_cheat.c b/src/doom/deh_cheat.c
index a80c6ffc..8e269c04 100644
--- a/src/doom/deh_cheat.c
+++ b/src/doom/deh_cheat.c
@@ -28,7 +28,7 @@

 typedef struct
 {
-    char *name;
+    const char *name;
     cheatseq_t *seq;
 } deh_cheat_t;