foxygit / doom Log in
commit 6f0a635df41cd4c793c7ca1d4e65524f95a0ef03
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat May 26 16:19:32 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat May 26 16:24:15 2018 +0300

    config: Make default_t name member const
---
 src/m_config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/m_config.c b/src/m_config.c
index 1ba03c3b..7b22d795 100644
--- a/src/m_config.c
+++ b/src/m_config.c
@@ -63,7 +63,7 @@ typedef enum
 typedef struct
 {
     // Name of the variable
-    char *name;
+    const char *name;

     // Pointer to the location in memory of the variable
     union {