Case insensitive extension check for those with all uppercased file names

This commit is contained in:
Ron Pedde 2004-09-19 21:14:27 +00:00
parent 679faff120
commit ebf43ff4fb

View File

@ -674,7 +674,7 @@ int scan_gettags(char *file, MP3FILE *pmp3) {
/* dispatch to appropriate tag handler */ /* dispatch to appropriate tag handler */
for(hdl = taghandlers ; hdl->suffix ; ++hdl) for(hdl = taghandlers ; hdl->suffix ; ++hdl)
if(!strcmp(hdl->suffix, pmp3->type)) if(!strcasecmp(hdl->suffix, pmp3->type))
break; break;
if(hdl->tags) if(hdl->tags)