소스 검색

* Fix bug #35127 in CheckRectClipping, patch from Ondrej Pokorny

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

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

@@ -87,7 +87,7 @@ begin
       y1 := top;
     if ( y2 > bottom ) then // bottom side needs to be clipped
       y2 := bottom;
-    if (x1 > x2) or (y1 < y2) then
+    if (x1 > x2) or (y1 > y2) then
       ClearRect;
     end;
 end;