foxygit / doom Log in
commit b262a37ca3d6f60e9cdfa5111c21d0291923ffbb
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue May 15 19:26:50 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue May 15 19:26:50 2018 +0300

    strife: Make HUlib_addMessageToSText msg parameter const
---
 src/strife/hu_lib.c | 2 +-
 src/strife/hu_lib.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/strife/hu_lib.c b/src/strife/hu_lib.c
index e64c69e8..f95752d0 100644
--- a/src/strife/hu_lib.c
+++ b/src/strife/hu_lib.c
@@ -310,7 +310,7 @@ void
 HUlib_addMessageToSText
 ( hu_stext_t*	s,
   const char	*prefix,
-  char*		msg )
+  const char	*msg )
 {
     HUlib_addLineToSText(s);
     if (prefix)
diff --git a/src/strife/hu_lib.h b/src/strife/hu_lib.h
index a47af810..6d6375d5 100644
--- a/src/strife/hu_lib.h
+++ b/src/strife/hu_lib.h
@@ -138,7 +138,7 @@ void
 HUlib_addMessageToSText
 ( hu_stext_t*	s,
   const char	*prefix,
-  char*		msg );
+  const char	*msg );

 // draws stext
 void HUlib_drawSText(hu_stext_t* s);