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:
parent
3b0f8d5516
commit
fc92db83cf
@ -109,7 +109,7 @@ IcuCollate(const char *a, const char *b) noexcept
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto result = CompareStringEx(LOCALE_NAME_INVARIANT,
|
auto result = CompareStringEx(LOCALE_NAME_INVARIANT,
|
||||||
LINGUISTIC_IGNORECASE,
|
NORM_IGNORECASE,
|
||||||
wa.c_str(), -1,
|
wa.c_str(), -1,
|
||||||
wb.c_str(), -1,
|
wb.c_str(), -1,
|
||||||
nullptr, nullptr, 0);
|
nullptr, nullptr, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user