aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/archive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/archive.cpp b/common/archive.cpp
index 2e2aca6b22..f0790f1a27 100644
--- a/common/archive.cpp
+++ b/common/archive.cpp
@@ -54,7 +54,7 @@ int Archive::listMatchingMembers(ArchiveMemberList &list, const String &pattern)
for ( ; it != allNames.end(); ++it) {
// TODO: We match case-insenstivie for now, our API does not define whether that's ok or not though...
// For our use case case-insensitive is probably what we want to have though.
- if ((*it)->getName().matchString(lowercasePattern, true, true)) {
+ if ((*it)->getName().matchString(pattern, true, true)) {
list.push_back(*it);
matches++;
}