mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
Calculation fix
svn path=/trunk/; revision=4267
This commit is contained in:
parent
975ce25154
commit
397c2118fd
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue