codetools: fixed CompareCodeXYPositions

This commit is contained in:
mattias 2025-03-21 19:27:21 +01:00
parent ca2e64716d
commit d44799c623

View File

@ -351,7 +351,7 @@ begin
else if Pos1^.Y<Pos2^.Y then Result:=1
else if Pos1^.Y>Pos2^.Y then Result:=-1
else if Pos1^.X<Pos2^.X then Result:=1
else if Pos1^.Y<Pos2^.Y then Result:=-1
else if Pos1^.X>Pos2^.X then Result:=-1
else Result:=0;
end;