From 95d1b8ae62c0f3d05d4028ba866de1ac7b655c80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=A9=20van=20Geldorp?= Date: Sat, 18 Jun 2005 19:53:49 +0000 Subject: [PATCH] Use correct dest rect when preventing copy outside source surf svn path=/trunk/; revision=16057 --- reactos/subsys/win32k/eng/bitblt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/win32k/eng/bitblt.c b/reactos/subsys/win32k/eng/bitblt.c index 79349c81c18..dcfb6da74dc 100644 --- a/reactos/subsys/win32k/eng/bitblt.c +++ b/reactos/subsys/win32k/eng/bitblt.c @@ -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 { -- 2.17.1