hexen: Make SC_Compare parameter const

This commit is contained in:
Turo Lamminen 2018-08-07 18:19:16 +03:00
parent 0e86f377a3
commit e026fc8729
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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)
{