ref: 53ff14ac6b792bda5b228bd4616bbbb5f3774125
parent: 1c122253512d82c9b2d559f670e0902e5da31af7
author: Turo Lamminen <[email protected]>
date: Sat May 26 12:06:09 EDT 2018
config: Make default_collection_t filename member const
--- a/src/m_config.c
+++ b/src/m_config.c
@@ -95,7 +95,7 @@
{
default_t *defaults;
int numdefaults;
- char *filename;
+ const char *filename;
} default_collection_t;
#define CONFIG_VARIABLE_GENERIC(name, type) \
@@ -1951,8 +1951,8 @@
void M_SaveDefaultsAlternate(char *main, char *extra)
{
- char *orig_main;
- char *orig_extra;
+ const char *orig_main;
+ const char *orig_extra;
// Temporarily change the filenames