shithub: choc

Download patch

ref: fc6d7daf3a31c73a223724df94fa57578f52b0af
parent: a580241955255e0e95db02f17d62e65c0bca7033
author: Turo Lamminen <turotl@gmail.com>
date: Thu Mar 1 15:15:22 EST 2018

Make I_PrintStartupBanner parameter const

--- a/src/i_system.c
+++ b/src/i_system.c
@@ -180,7 +180,7 @@
     putchar('\n');
 }
 
-void I_PrintStartupBanner(char *gamedescription)
+void I_PrintStartupBanner(const char *gamedescription)
 {
     I_PrintDivider();
     I_PrintBanner(gamedescription);
--- a/src/i_system.h
+++ b/src/i_system.h
@@ -72,7 +72,7 @@
 
 // Print startup banner copyright message.
 
-void I_PrintStartupBanner(char *gamedescription);
+void I_PrintStartupBanner(const char *gamedescription);
 
 // Print a centered text banner displaying the given string.