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