diff options
Diffstat (limited to 'src/path.c')
| -rw-r--r-- | src/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ bool pw_stripext(char *name, size_t sz, char const *path, char const *ext) { size_t plen = SDL_strlen(path); size_t elen = SDL_strlen(ext); size_t nlen = plen - elen; - if (plen < elen || SDL_strcmp(path + nlen, ext)) { + if (plen < elen || SDL_strcasecmp(path + nlen, ext)) { SDL_SetError("path does not have extension"); return false; } |
