mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 17:03:05 +00:00
GRIM: Replace index() with strchr().
This commit is contained in:
parent
806b01eeb3
commit
f8c93eef39
@ -189,7 +189,7 @@ static void parse(const char *line, const char *fmt, int field_count, va_list va
|
||||
char *string = (char*)var;
|
||||
for (; k < strlen(s) && k < fieldWidth; ++k) {
|
||||
char c = s[k];
|
||||
bool inSet = index(chars, c) != NULL;
|
||||
bool inSet = strchr(chars, c) != NULL;
|
||||
if ((circumflex && inSet) || (!circumflex && !inSet)) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user