lib/icu/Collate: use NORM_IGNORECASE instead of LINGUISTIC_IGNORECASE

LINGUISTIC_IGNORECASE is unimplemented on Wine, but since we don't
have any locale support (yet), and we're using LOCALE_NAME_INVARIANT,
NORM_IGNORECASE should essentially be the same, so why bother.
This commit is contained in:
Max Kellermann 2020-04-22 21:38:22 +02:00
parent 3b0f8d5516
commit fc92db83cf

View File

@ -109,7 +109,7 @@ IcuCollate(const char *a, const char *b) noexcept
}
auto result = CompareStringEx(LOCALE_NAME_INVARIANT,
LINGUISTIC_IGNORECASE,
NORM_IGNORECASE,
wa.c_str(), -1,
wb.c_str(), -1,
nullptr, nullptr, 0);