From: Royce Mitchell III Date: Sun, 12 Dec 2004 21:38:25 +0000 (+0000) Subject: BUGFIX: MouseSafety does it's own parameter validation, and this calculation was... X-Git-Tag: backups/ELF_support@12700~7^2~12 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=63fcc0cffd10889a90bdf750a8c597216cfc57db BUGFIX: MouseSafety does it's own parameter validation, and this calculation was flat-out wrong anyway svn path=/trunk/; revision=12059 --- diff --git a/reactos/subsys/win32k/eng/bitblt.c b/reactos/subsys/win32k/eng/bitblt.c index ddc599f28d6..6293a3e0413 100644 --- a/reactos/subsys/win32k/eng/bitblt.c +++ b/reactos/subsys/win32k/eng/bitblt.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: bitblt.c,v 1.59 2004/12/12 01:40:36 weiden Exp $ +/* $Id: bitblt.c,v 1.60 2004/12/12 21:38:25 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -754,8 +754,7 @@ IntEngStretchBlt(BITMAPOBJ *DestObj, if (NULL != SourceObj) { MouseSafetyOnDrawStart(SourceSurf, SourceRect->left, SourceRect->top, - (SourceRect->left + abs(SourceRect->right - SourceRect->left)), - (SourceRect->top + abs(SourceRect->bottom - SourceRect->top))); + SourceRect->right, SourceRect->bottom); } /* No success yet */