From 49a452041c0e00322331e63603265c8a508fcdf3 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Mon, 20 Sep 2010 20:52:37 +0200 Subject: case insensitive fnmatching for cover art filemask --- plugins/artwork/artwork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/artwork/artwork.c b/plugins/artwork/artwork.c index d81def38..fbbe71d9 100644 --- a/plugins/artwork/artwork.c +++ b/plugins/artwork/artwork.c @@ -229,7 +229,7 @@ filter_custom (const struct dirent *f) strcpy (mask, p); } if (*mask) { - if (!fnmatch (mask, f->d_name, 0)) { + if (!fnmatch (mask, f->d_name, FNM_CASEFOLD)) { return 1; } } -- cgit v1.2.3