[ros-diffs] [gvg] 16057: Use correct dest rect when preventing copy outside source surf

gvg at svn.reactos.com gvg at svn.reactos.com
Sat Jun 18 21:53:58 CEST 2005


Use correct dest rect when preventing copy outside source surf
Modified: trunk/reactos/subsys/win32k/eng/bitblt.c
  _____  

Modified: trunk/reactos/subsys/win32k/eng/bitblt.c
--- trunk/reactos/subsys/win32k/eng/bitblt.c	2005-06-18 19:30:47 UTC
(rev 16056)
+++ trunk/reactos/subsys/win32k/eng/bitblt.c	2005-06-18 19:53:49 UTC
(rev 16057)
@@ -552,8 +552,8 @@

 	{
 	  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
     {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050618/6972bdee/attachment.html


More information about the Ros-diffs mailing list