Changed references to strcasecmp() to SDL_strcasecmp for portability

This commit is contained in:
Dimitris Panokostas 2018-12-30 14:39:37 +01:00
parent 36ebeb7a66
commit af249a96a7
9 changed files with 62 additions and 62 deletions

View file

@ -62,7 +62,7 @@ TCHAR *fsdb_search_dir (const TCHAR *dirname, TCHAR *rel)
while (p == 0 && (de = my_readdir (dir, fn)) != 0) {
if (strcmp (fn, rel) == 0)
p = rel;
else if (strcasecmp (fn, rel) == 0)
else if (stricmp(fn, rel) == 0)
p = my_strdup (fn);
}
my_closedir (dir);