shithub: choc

Download patch

ref: 971586b3350e5db74c69a16a936238f2ad7d2632
parent: 184efd6116cc71a47e146b18c3c55522cee8e9cf
author: Turo Lamminen <[email protected]>
date: Tue May 15 15:25:09 EDT 2018

strife: Make HUlib_addMessageToSText prefix parameter const

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