mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Calculation fix (from Tim Jobling)
svn path=/trunk/; revision=4268
This commit is contained in:
parent
397c2118fd
commit
feda09e7a3
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue