summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-09-20 20:52:37 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-09-20 20:52:37 +0200
commit49a452041c0e00322331e63603265c8a508fcdf3 (patch)
treefd3f08ec69efa7c6769d1cb1dcd30fbbc2fdc87b /plugins
parentc3f2fc31ee63f420d036e2fdb1d8d5285b3ebf74 (diff)
case insensitive fnmatching for cover art filemask
Diffstat (limited to 'plugins')
-rw-r--r--plugins/artwork/artwork.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}