ref: a580241955255e0e95db02f17d62e65c0bca7033
parent: 93fb29c19b1504f3239a65f034161309cc39f78a
author: Turo Lamminen <[email protected]>
date: Thu Mar 1 15:10:38 EST 2018
Make I_PrintBanner parameter const
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -157,7 +157,7 @@
return zonemem;
}
-void I_PrintBanner(char *msg)
+void I_PrintBanner(const char *msg)
{
int i;
int spaces = 35 - (strlen(msg) / 2);
--- a/src/i_system.h
+++ b/src/i_system.h
@@ -76,7 +76,7 @@
// Print a centered text banner displaying the given string.
-void I_PrintBanner(char *text);
+void I_PrintBanner(const char *text);
// Print a dividing line for startup banners.