lib/icu/Compare: add LINGUISTIC_IGNORECASE [Windows]
This fixes one check in the "StringFilterTest.Normalize" unit test.
This commit is contained in:
@ -49,7 +49,7 @@ IcuCompare::operator==(const char *haystack) const noexcept
|
||||
try {
|
||||
auto w_haystack = MultiByteToWideChar(CP_UTF8, haystack);
|
||||
return CompareStringEx(LOCALE_NAME_INVARIANT,
|
||||
NORM_IGNORECASE,
|
||||
LINGUISTIC_IGNORECASE|NORM_IGNORECASE,
|
||||
w_haystack.c_str(), -1,
|
||||
needle.c_str(), -1,
|
||||
nullptr, nullptr, 0) == CSTR_EQUAL;
|
||||
|
Reference in New Issue
Block a user