IDE: fixed range check

git-svn-id: trunk@45274 -
This commit is contained in:
mattias 2014-05-31 23:24:05 +00:00
parent 4e49bc99a1
commit c20505c5d5

View File

@ -441,7 +441,7 @@ begin
if Result <> 0 then exit;
Result:=Priority-OtherMark.Priority;
if Result <> 0 then exit;
Result := PtrInt(Self) - PtrInt(OtherMark);
Result := ComparePointers(Self,OtherMark);
end;
function TSourceMark.CompareEditorAndLine(ASrcEditID: TObject;