소스 검색

* fix for mantis 38889, swap bottom and rect in pointinside

git-svn-id: trunk@49373 -
marco 4 년 전
부모
커밋
a714cfafb8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/fcl-image/src/clipping.pp

+ 1 - 1
packages/fcl-image/src/clipping.pp

@@ -57,7 +57,7 @@ begin
   SortRect (bounds);
   with Bounds do
     result := (x >= left) and (x <= right) and
-              (y >= bottom) and (y <= top);
+              (y >= top) and (y <= bottom);
 end;
 
 Function CheckRectClipping (ClipRect:TRect; var Rect:Trect) : Boolean;