From f3540d54b4104b2413875b22a843ac572e697193 Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 10 Feb 2023 12:39:32 +0300 Subject: [PATCH] fix pichar --- libs/main/text/pichar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/main/text/pichar.cpp b/libs/main/text/pichar.cpp index db8e4847..64eef9de 100644 --- a/libs/main/text/pichar.cpp +++ b/libs/main/text/pichar.cpp @@ -90,7 +90,7 @@ int charCompare(const PIChar & f, const PIChar & s) { if (f.isAscii() && s.isAscii()) return strncmp(f.toCharPtr(), s.toCharPtr(), 1); return #ifdef PIP_ICU - u_strCompare((const UChar *)f.toWCharPtr(), 1, (const UChar *)s.toWCharPtr(), 1, FALSE); + u_strCompare((const UChar *)f.toWCharPtr(), 1, (const UChar *)s.toWCharPtr(), 1, 0); #else # ifdef WINDOWS CompareStringW(LOCALE_USER_DEFAULT, 0, (PCNZWCH)f.toWCharPtr(), 1, (PCNZWCH)s.toWCharPtr(), 1) - 2;