mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 04:49:43 +02:00
LazUtf8: honour CaseSensitive in TStringListUTF8Fast.DoCompareText.
This commit is contained in:
parent
86c08fcb3a
commit
c67c745669
@ -4159,7 +4159,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