diff options
Diffstat (limited to 'src/cache/handlers')
| -rw-r--r-- | src/cache/handlers/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache/handlers/file.c b/src/cache/handlers/file.c index dba5649..1a70350 100644 --- a/src/cache/handlers/file.c +++ b/src/cache/handlers/file.c @@ -30,7 +30,7 @@ static s32 handler_file_guess_format(struct cch_handler *handler) struct cch_backing_file *backing = (struct cch_backing_file *)file->backing; str *path = &backing->file.path; u32 dot = al_str_rfind(path, '.'); - if (dot != AL_STR_NPOS) { + if (dot != AL_STR_NO_POS) { str ext = al_str_substr(path, dot, path->length); return camu_guess_format(NULL, &ext, NULL); } |