shithub: choc

Download patch

ref: 43df3678ea7285c3997dc37b0ef586c9ffbf4908
parent: a20daa0f3123e1eb392eac264d174503aff127b9
author: Turo Lamminen <turotl@gmail.com>
date: Sat May 5 10:59:58 EDT 2018

config: Make configdir variable const

--- a/src/m_config.c
+++ b/src/m_config.c
@@ -44,7 +44,7 @@
 // Location where all configuration data is stored - 
 // default.cfg, savegames, etc.
 
-char *configdir;
+const char *configdir;
 
 // Default filenames for configuration files.
 
--- a/src/m_config.h
+++ b/src/m_config.h
@@ -36,6 +36,6 @@
 void M_SetConfigFilenames(char *main_config, char *extra_config);
 char *M_GetSaveGameDir(char *iwadname);
 
-extern char *configdir;
+extern const char *configdir;
 
 #endif