Use Q_strcasecmp instead of Q_stricmp().

This should be be noop but looks safer. Reported by maraakate in yquake2
issue #160.
This commit is contained in:
Yamagi Burmeister 2016-12-17 11:25:55 +01:00
parent 52fd07eb33
commit bfae128a5c
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ ED_ParseField(const char *key, const char *value, edict_t *ent)
for (f = fields; f->name; f++)
{
if (!(f->flags & FFL_NOSPAWN) && !Q_stricmp(f->name, key))
if (!(f->flags & FFL_NOSPAWN) && !Q_strcasecmp(f->name, (char *)key))
{
/* found it */
if (f->flags & FFL_SPAWNTEMP)