Use correct dest rect when preventing copy outside source surf

svn path=/trunk/; revision=16057
This commit is contained in:
Gé van Geldorp 2005-06-18 19:53:49 +00:00
parent 434303caa3
commit 95d1b8ae62

View file

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