ref: e675c26205064edaa7c40881d0f8942366460101
parent: e1215041accbeb1812131763e0a668782f8a3e89
author: Turo Lamminen <[email protected]>
date: Tue Apr 24 15:02:00 EDT 2018
doom: Make M_StartMessage string parameter const
--- a/src/doom/m_menu.c
+++ b/src/doom/m_menu.c
@@ -220,7 +220,7 @@
void M_WriteText(int x, int y, char *string);
int M_StringWidth(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);
void M_ClearMenus (void);
@@ -1236,7 +1236,7 @@
void
M_StartMessage
-( char* string,
+( const char *string,
void* routine,
boolean input )
{