commit a1a4a8190d09803f858c691e0f64626ce6ed4131
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Aug 7 18:08:01 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Aug 7 18:08:01 2018 +0300
hexen: Make OpenScript name parameter const
---
src/hexen/sc_man.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hexen/sc_man.c b/src/hexen/sc_man.c
index 970f9436..dbc14d09 100644
--- a/src/hexen/sc_man.c
+++ b/src/hexen/sc_man.c
@@ -40,7 +40,7 @@
// PRIVATE FUNCTION PROTOTYPES ---------------------------------------------
static void CheckOpen(void);
-static void OpenScript(char *name, int type);
+static void OpenScript(const char *name, int type);
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
@@ -122,7 +122,7 @@ void SC_OpenFile(char *name)
//
//==========================================================================
-static void OpenScript(char *name, int type)
+static void OpenScript(const char *name, int type)
{
SC_Close();
if (type == LUMP_SCRIPT)