ref: 33f3e381e26d0b8c31ed1db72e0d5b76a873042f
parent: b583744f185be9b58c023b4571c43b1b7c0bc946
author: Turo Lamminen <[email protected]>
date: Sat May 26 11:36:39 EDT 2018
config: Make M_GetSaveGameDir parameter const
--- a/src/m_config.c
+++ b/src/m_config.c
@@ -2213,7 +2213,7 @@
// Creates the directory as necessary.
//
-char *M_GetSaveGameDir(char *iwadname)
+char *M_GetSaveGameDir(const char *iwadname)
{
char *savegamedir;
char *topdir;
--- a/src/m_config.h
+++ b/src/m_config.h
@@ -34,7 +34,7 @@
const char *M_GetStringVariable(char *name);
float M_GetFloatVariable(char *name);
void M_SetConfigFilenames(char *main_config, char *extra_config);
-char *M_GetSaveGameDir(char *iwadname);
+char *M_GetSaveGameDir(const char *iwadname);
extern const char *configdir;