Browse Source

iosxwstr: use kCFCompareNonliteral

Patch by @modersohn

Fixes tunistr7/twidestr7, resolves #40507
Jonas Maebe 1 year ago
parent
commit
3e96ac0c4c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/iosxlocale/src/iosxwstr.pp

+ 1 - 1
packages/iosxlocale/src/iosxwstr.pp

@@ -361,7 +361,7 @@ implementation
     var
       flags: CFStringCompareFlags;
     begin
-      flags:=0;
+      flags:=kCFCompareNonliteral;
       if case_insensitive then
         flags:=flags or kCFCompareCaseInsensitive;
       result:=CFStringCompare(s1,s2,flags)