Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 33eb097

Browse files
committed
[[ Filter ]] Fix an issuewith filter range expression
1 parent d5d16c1 commit 33eb097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libfoundation/src/foundation-unicode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2274,7 +2274,7 @@ bool MCUnicodeWildcardMatch(const void *source_chars, uindex_t source_length, bo
22742274
{
22752275
// we're still ok if the current source grapheme falls within the appropriate range.
22762276
// If not, there may be other options within this pair of brackets
2277-
if (t_source_cp >= t_lower_limit || t_source_cp <= t_pattern_cp)
2277+
if (t_source_cp >= t_lower_limit && t_source_cp <= t_pattern_cp)
22782278
ok = true;
22792279
}
22802280
}

0 commit comments

Comments
 (0)