ref: 6cabdf8774d15c58e1ddb5d6dd95c69c4763ee46
parent: 45ad423f2b9e3ffe57fedb2acf86f5e5eafa8eed
author: Turo Lamminen <turotl@gmail.com>
date: Sat Jul 21 12:50:55 EDT 2018
wad: Make W_NWTMergeFile filename parameter const
--- a/src/w_merge.c
+++ b/src/w_merge.c
@@ -624,7 +624,7 @@
// 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;
--- a/src/w_merge.h
+++ b/src/w_merge.h
@@ -30,7 +30,7 @@
// 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.