From 397c2118fde5f72102377b928b51ca3d716a4c03 Mon Sep 17 00:00:00 2001 From: Jason Filby Date: Sun, 9 Mar 2003 15:08:33 +0000 Subject: [PATCH] Calculation fix svn path=/trunk/; revision=4267 --- reactos/lib/user32/windows/window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/lib/user32/windows/window.c b/reactos/lib/user32/windows/window.c index 050382e6d3b..0b681cbea76 100644 --- a/reactos/lib/user32/windows/window.c +++ b/reactos/lib/user32/windows/window.c @@ -1,4 +1,4 @@ -/* $Id: window.c,v 1.19 2003/03/06 23:57:00 gvg Exp $ +/* $Id: window.c,v 1.20 2003/03/09 15:08:33 jfilby Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS user32.dll @@ -925,8 +925,8 @@ MapWindowPoints(HWND hWndFrom, HWND hWndTo, LPPOINT lpPoints, UINT cPoints) NtUserGetClientOrigin(hWndFrom, &FromOffset); NtUserGetClientOrigin(hWndTo, &ToOffset); - XMove = ToOffset.x - FromOffset.x; - YMove = ToOffset.y - FromOffset.y; + XMove = FromOffset.x - ToOffset.x; + YMove = FromOffset.y - ToOffset.y; for (i = 0; i < cPoints; i++) { lpPoints[i].x += XMove;