From fc92db83cf52839423aa58438f992f86ff71ab70 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Apr 2020 21:38:22 +0200 Subject: [PATCH] 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. --- src/lib/icu/Collate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/icu/Collate.cxx b/src/lib/icu/Collate.cxx index baff5137a..4b64e8668 100644 --- a/src/lib/icu/Collate.cxx +++ b/src/lib/icu/Collate.cxx @@ -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);