ref: 7ad49f8e9413f33a2518d0c6367038482ee7e2c8
parent: 398412c156993464a6824e278c34d5a7ccd80387
author: Turo Lamminen <turotl@gmail.com>
date: Thu Mar 1 16:10:14 EST 2018
doom: Make HUlib_addMessageToSText string parameters const
--- a/src/doom/hu_lib.c
+++ b/src/doom/hu_lib.c
@@ -208,8 +208,8 @@
void
HUlib_addMessageToSText
( hu_stext_t* s,
- char* prefix,
- char* msg )
+ const char* prefix,
+ const char* msg )
{
HUlib_addLineToSText(s);
if (prefix)
--- a/src/doom/hu_lib.h
+++ b/src/doom/hu_lib.h
@@ -134,8 +134,8 @@
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);