shithub: choc

Download patch

ref: 8b923a44034123f04b6c5db54943e21ac290647a
parent: 12b1097736b813b1a2844c1e29543cabf8e1f7c4
author: Turo Lamminen <[email protected]>
date: Tue Jan 29 14:25:24 EST 2019

strife: Make DemoVersionDescription return value const

--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -2274,7 +2274,7 @@
 
 // Generate a string describing a demo version
 // [STRIFE] Modified to handle the one and only Strife demo version.
-static char *DemoVersionDescription(int version)
+static const char *DemoVersionDescription(int version)
 {
     static char resultbuf[16];