foxygit / doom Log in
commit 8b923a44034123f04b6c5db54943e21ac290647a
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Jan 29 19:25:24 2019 +0200
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jan 29 19:25:24 2019 +0200

    strife: Make DemoVersionDescription return value const
---
 src/strife/g_game.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/strife/g_game.c b/src/strife/g_game.c
index c29ca4e6..ff0935e0 100644
--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -2274,7 +2274,7 @@ void G_DeferedPlayDemo(const char *name)

 // 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];