synedit: fixed CompareBinary for Length(s2) > l

git-svn-id: branches/fixes_2_0@60379 -
This commit is contained in:
mattias 2019-02-09 08:45:48 +00:00
parent 511744bfa6
commit aa6c8ecdfc

View File

@ -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;