shithub: choc

Download patch

ref: 09a8efb0bdf2ed24851bb35fa38241674a55a49a
parent: acb2cc46902c7a8e7bb75e988a24e0ef2c4d3fe1
author: Turo Lamminen <[email protected]>
date: Tue May 15 16:07:30 EDT 2018

strife: Make M_StartMessage string parameter const

--- a/src/strife/m_menu.c
+++ b/src/strife/m_menu.c
@@ -208,7 +208,7 @@
 void M_DrawSelCell(menu_t *menu,int item);
 int  M_StringWidth(const char *string);
 int  M_StringHeight(const char *string);
-void M_StartMessage(char *string,void *routine,boolean input);
+void M_StartMessage(const char *string,void *routine,boolean input);
 void M_StopMessage(void);
 
 
@@ -1462,7 +1462,7 @@
 
 void
 M_StartMessage
-( char*		string,
+( const char	*string,
   void*		routine,
   boolean	input )
 {