commit 971586b3350e5db74c69a16a936238f2ad7d2632
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue May 15 19:25:09 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue May 15 19:25:09 2018 +0300
strife: Make HUlib_addMessageToSText prefix 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 6730baea..e64c69e8 100644
--- a/src/strife/hu_lib.c
+++ b/src/strife/hu_lib.c
@@ -309,7 +309,7 @@ void HUlib_addLineToSText(hu_stext_t* s)
void
HUlib_addMessageToSText
( hu_stext_t* s,
- char* prefix,
+ const char *prefix,
char* msg )
{
HUlib_addLineToSText(s);
diff --git a/src/strife/hu_lib.h b/src/strife/hu_lib.h
index c0acf398..a47af810 100644
--- a/src/strife/hu_lib.h
+++ b/src/strife/hu_lib.h
@@ -137,7 +137,7 @@ void HUlib_addLineToSText(hu_stext_t* s);
void
HUlib_addMessageToSText
( hu_stext_t* s,
- char* prefix,
+ const char *prefix,
char* msg );
// draws stext