Revert "lib/icu/Compare: add LINGUISTIC_IGNORECASE [Windows]"

This reverts commit 1bd204527e010a59a375903d7c03cfe68c788d74.  This
fixes a test on WINE, but fails many others on Windows.  D'oh!
This commit is contained in:
Max Kellermann 2025-03-13 11:22:02 +01:00
parent 71c8f4de40
commit 3626d4ec9a

View File

@ -49,7 +49,7 @@ IcuCompare::operator==(const char *haystack) const noexcept
try {
auto w_haystack = MultiByteToWideChar(CP_UTF8, haystack);
return CompareStringEx(LOCALE_NAME_INVARIANT,
LINGUISTIC_IGNORECASE|NORM_IGNORECASE,
NORM_IGNORECASE,
w_haystack.c_str(), -1,
needle.c_str(), -1,
nullptr, nullptr, 0) == CSTR_EQUAL;