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:
parent
71c8f4de40
commit
3626d4ec9a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user