foxygit / doom Log in
commit c5d8067d38e0c356677eb996cc09dd45a580b52d
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Jan 22 19:26:59 2019 +0200
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jan 22 19:26:59 2019 +0200

    setup: Make mission_config_t string members const
---
 src/setup/mode.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/setup/mode.c b/src/setup/mode.c
index 2cd23d82..dbe667df 100644
--- a/src/setup/mode.c
+++ b/src/setup/mode.c
@@ -44,13 +44,13 @@ static const iwad_t **iwads;

 typedef struct
 {
-    char *label;
+    const char *label;
     GameMission_t mission;
     int mask;
-    char *name;
-    char *config_file;
-    char *extra_config_file;
-    char *executable;
+    const char *name;
+    const char *config_file;
+    const char *extra_config_file;
+    const char *executable;
 } mission_config_t;

 // Default mission to fall back on, if no IWADs are found at all: