commit 7ad49f8e9413f33a2518d0c6367038482ee7e2c8
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Thu Mar 1 21:10:14 2018 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Mar 13 12:31:51 2018 +0200
doom: Make HUlib_addMessageToSText string parameters const
---
src/doom/hu_lib.c | 4 ++--
src/doom/hu_lib.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/doom/hu_lib.c b/src/doom/hu_lib.c
index 850d7f95..6a42b04b 100644
--- a/src/doom/hu_lib.c
+++ b/src/doom/hu_lib.c
@@ -208,8 +208,8 @@ void HUlib_addLineToSText(hu_stext_t* s)
void
HUlib_addMessageToSText
( hu_stext_t* s,
- char* prefix,
- char* msg )
+ const char* prefix,
+ const char* msg )
{
HUlib_addLineToSText(s);
if (prefix)
diff --git a/src/doom/hu_lib.h b/src/doom/hu_lib.h
index 8f0994e6..ca5eb8d8 100644
--- a/src/doom/hu_lib.h
+++ b/src/doom/hu_lib.h
@@ -134,8 +134,8 @@ void HUlib_addLineToSText(hu_stext_t* s);
void
HUlib_addMessageToSText
( hu_stext_t* s,
- char* prefix,
- char* msg );
+ const char* prefix,
+ const char* msg );
// draws stext
void HUlib_drawSText(hu_stext_t* s);