shithub: choc

Download patch

ref: 941e55129e7716a9a4e0437e45f22e246eabf867
parent: 33f3e381e26d0b8c31ed1db72e0d5b76a873042f
author: Turo Lamminen <[email protected]>
date: Sat May 26 11:37:39 EDT 2018

d_iwad: Make D_SaveGameIWADName return value const

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -890,7 +890,7 @@
 // Get the IWAD name used for savegames.
 //
 
-char *D_SaveGameIWADName(GameMission_t gamemission)
+const char *D_SaveGameIWADName(GameMission_t gamemission)
 {
     size_t i;
 
--- a/src/d_iwad.h
+++ b/src/d_iwad.h
@@ -43,7 +43,7 @@
 char *D_TryFindWADByName(char *filename);
 char *D_FindIWAD(int mask, GameMission_t *mission);
 const iwad_t **D_FindAllIWADs(int mask);
-char *D_SaveGameIWADName(GameMission_t gamemission);
+const char *D_SaveGameIWADName(GameMission_t gamemission);
 char *D_SuggestIWADName(GameMission_t mission, GameMode_t mode);
 char *D_SuggestGameName(GameMission_t mission, GameMode_t mode);
 void D_CheckCorrectIWAD(GameMission_t mission);