diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-09-20 20:52:37 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-09-20 20:52:37 +0200 |
commit | 49a452041c0e00322331e63603265c8a508fcdf3 (patch) | |
tree | fd3f08ec69efa7c6769d1cb1dcd30fbbc2fdc87b /plugins | |
parent | c3f2fc31ee63f420d036e2fdb1d8d5285b3ebf74 (diff) |
case insensitive fnmatching for cover art filemask
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/artwork/artwork.c | 2 |
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; } } |