shithub: choc

Download patch

ref: 04e497d8555d6942f3523dd50c2021c1358cd831
parent: 55e7d8d5c24e785799d8b263ef8dc2ecf02889f1
author: Turo Lamminen <turotl@gmail.com>
date: Tue Jan 29 14:15:00 EST 2019

strife: Make gamedescription variable const

--- a/src/strife/doomstat.c
+++ b/src/strife/doomstat.c
@@ -25,7 +25,7 @@
 GameMode_t gamemode = indetermined;
 GameMission_t	gamemission = doom;
 GameVersion_t   gameversion = exe_strife_1_31;
-char *gamedescription;
+const char *gamedescription;
 
 // Set if homebrew PWAD stuff has been added.
 boolean	modifiedgame;
--- a/src/strife/doomstat.h
+++ b/src/strife/doomstat.h
@@ -58,7 +58,7 @@
 extern GameMode_t	gamemode;
 extern GameMission_t	gamemission;
 extern GameVersion_t    gameversion;
-extern char            *gamedescription;
+extern const char       *gamedescription;
 
 // Set if homebrew PWAD stuff has been added.
 extern  boolean	modifiedgame;