From ebf43ff4fb6214bb9f5627c78cbd6c5df189de1e Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Sun, 19 Sep 2004 21:14:27 +0000 Subject: [PATCH] Case insensitive extension check for those with all uppercased file names --- src/mp3-scanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mp3-scanner.c b/src/mp3-scanner.c index 704defa2..f2194134 100644 --- a/src/mp3-scanner.c +++ b/src/mp3-scanner.c @@ -674,7 +674,7 @@ int scan_gettags(char *file, MP3FILE *pmp3) { /* dispatch to appropriate tag handler */ for(hdl = taghandlers ; hdl->suffix ; ++hdl) - if(!strcmp(hdl->suffix, pmp3->type)) + if(!strcasecmp(hdl->suffix, pmp3->type)) break; if(hdl->tags)