shithub: choc

Download patch

ref: b262a37ca3d6f60e9cdfa5111c21d0291923ffbb
parent: 971586b3350e5db74c69a16a936238f2ad7d2632
author: Turo Lamminen <[email protected]>
date: Tue May 15 15:26:50 EDT 2018

strife: Make HUlib_addMessageToSText msg parameter const

--- a/src/strife/hu_lib.c
+++ b/src/strife/hu_lib.c
@@ -310,7 +310,7 @@
 HUlib_addMessageToSText
 ( hu_stext_t*	s,
   const char	*prefix,
-  char*		msg )
+  const char	*msg )
 {
     HUlib_addLineToSText(s);
     if (prefix)
--- a/src/strife/hu_lib.h
+++ b/src/strife/hu_lib.h
@@ -138,7 +138,7 @@
 HUlib_addMessageToSText
 ( hu_stext_t*	s,
   const char	*prefix,
-  char*		msg );
+  const char	*msg );
 
 // draws stext
 void HUlib_drawSText(hu_stext_t* s);