commit 6cabdf8774d15c58e1ddb5d6dd95c69c4763ee46
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat Jul 21 16:50:55 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Sat Jul 21 16:56:35 2018 +0300
wad: Make W_NWTMergeFile filename parameter const
---
src/w_merge.c | 2 +-
src/w_merge.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/w_merge.c b/src/w_merge.c
index 8a88e01e..3d71a9ae 100644
--- a/src/w_merge.c
+++ b/src/w_merge.c
@@ -624,7 +624,7 @@ static void W_NWTAddLumps(searchlist_t *list)
// Merge sprites and flats in the way NWT does with its -af and -as
// command-line options.
-void W_NWTMergeFile(char *filename, int flags)
+void W_NWTMergeFile(const char *filename, int flags)
{
int old_numlumps;
diff --git a/src/w_merge.h b/src/w_merge.h
index 1e1ed113..b88c9a3a 100644
--- a/src/w_merge.h
+++ b/src/w_merge.h
@@ -30,7 +30,7 @@ void W_MergeFile(const char *filename);
// NWT-style merging
-void W_NWTMergeFile(char *filename, int flags);
+void W_NWTMergeFile(const char *filename, int flags);
// Acts the same as NWT's "-merge" option.