ref: bde4ac7620e411d564c0df842d0a27c1f00db1b5
parent: 6a500c42694e05d7c849fecdf2c9cd705ed3c1ae
author: Turo Lamminen <[email protected]>
date: Sat Jul 21 12:22:41 EDT 2018
d_iwad: Make D_TryFindWADByName parameter const
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -777,7 +777,7 @@
// if not found.
//
-char *D_TryFindWADByName(char *filename)
+char *D_TryFindWADByName(const char *filename)
{
char *result;
--- a/src/d_iwad.h
+++ b/src/d_iwad.h
@@ -40,7 +40,7 @@
} iwad_t;
char *D_FindWADByName(const char *filename);
-char *D_TryFindWADByName(char *filename);
+char *D_TryFindWADByName(const char *filename);
char *D_FindIWAD(int mask, GameMission_t *mission);
const iwad_t **D_FindAllIWADs(int mask);
const char *D_SaveGameIWADName(GameMission_t gamemission);