foxygit / doom Log in
commit e675c26205064edaa7c40881d0f8942366460101
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Apr 24 19:02:00 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Apr 24 19:02:00 2018 +0300

    doom: Make M_StartMessage string parameter const
---
 src/doom/m_menu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/doom/m_menu.c b/src/doom/m_menu.c
index 75124e2d..67596dcf 100644
--- a/src/doom/m_menu.c
+++ b/src/doom/m_menu.c
@@ -220,7 +220,7 @@ void M_DrawSelCell(menu_t *menu,int item);
 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 @@ M_DrawSelCell

 void
 M_StartMessage
-( char*		string,
+( const char	*string,
   void*		routine,
   boolean	input )
 {