hexen: Make SC_Compare parameter const
This commit is contained in:
parent
0e86f377a3
commit
e026fc8729
2 changed files with 2 additions and 2 deletions
|
|
@ -915,7 +915,7 @@ boolean SC_GetNumber(void);
|
|||
void SC_MustGetNumber(void);
|
||||
void SC_UnGet(void);
|
||||
//boolean SC_Check(void);
|
||||
boolean SC_Compare(char *text);
|
||||
boolean SC_Compare(const char *text);
|
||||
int SC_MatchString(char **strings);
|
||||
int SC_MustMatchString(char **strings);
|
||||
void SC_ScriptError(const char *message);
|
||||
|
|
|
|||
|
|
@ -431,7 +431,7 @@ int SC_MustMatchString(char **strings)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
boolean SC_Compare(char *text)
|
||||
boolean SC_Compare(const char *text)
|
||||
{
|
||||
if (strcasecmp(text, sc_String) == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue