shithub: choc

Download patch

ref: 6be9843540b846b328b5b55f8d382f7572791c39
parent: b7368be6c4718a04c46b4196290279cf8899f848
author: Turo Lamminen <[email protected]>
date: Tue Feb 4 08:23:06 EST 2020

doom: Make GetGameName parameter const

--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -673,7 +673,7 @@
 // Otherwise, use the name given
 // 
 
-static char *GetGameName(char *gamename)
+static char *GetGameName(const char *gamename)
 {
     size_t i;
     const char *deh_sub;