mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 21:20:28 +02:00
LazUtf8: honour CaseSensitive in TStringListUTF8Fast.DoCompareText.
(cherry picked from commit c67c745669
)
This commit is contained in:
parent
1e8dd57dd1
commit
861e84ae25
@ -4056,7 +4056,10 @@ end;
|
||||
|
||||
function TStringListUTF8Fast.DoCompareText(const s1, s2: string): PtrInt;
|
||||
begin
|
||||
Result:=UTF8CompareLatinTextFast(s1, s2);
|
||||
if CaseSensitive then
|
||||
Result := Utf8CompareStr(s1, s2)
|
||||
else
|
||||
Result:=UTF8CompareLatinTextFast(s1, s2);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user