Use correct dest rect when preventing copy outside source surf
authorGé van Geldorp <ge@gse.nl>
Sat, 18 Jun 2005 19:53:49 +0000 (19:53 +0000)
committerGé van Geldorp <ge@gse.nl>
Sat, 18 Jun 2005 19:53:49 +0000 (19:53 +0000)
svn path=/trunk/; revision=16057

reactos/subsys/win32k/eng/bitblt.c

index 79349c8..dcfb6da 100644 (file)
@@ -552,8 +552,8 @@ IntEngBitBlt(BITMAPOBJ *DestObj,
        {
          return TRUE;
        }
-      InputPoint.x += OutputRect.left - DestRect->left;
-      InputPoint.y += OutputRect.top - DestRect->top;
+      InputPoint.x += OutputRect.left - InputClippedRect.left;
+      InputPoint.y += OutputRect.top - InputClippedRect.top;
     }
   else
     {