mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 07:19:16 +02:00
synedit: fixed CompareBinary for Length(s2) > l
git-svn-id: trunk@60333 -
This commit is contained in:
parent
a68d2b603f
commit
ae434164b9
@ -801,7 +801,7 @@ begin
|
||||
end else begin
|
||||
if l > 0 then
|
||||
Result := CompareByte(s1[1], s2[1], l);
|
||||
if Result = 0 then
|
||||
if (Result = 0) and (Length(s2) > l) then
|
||||
Result := -1;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user