mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 02:20:54 +00:00
wasn't fast enough to hit the cancel button
cast to VOID* instead of using CopyMemory svn path=/trunk/; revision=32002
This commit is contained in:
parent
16361a1a3d
commit
5f0802d25b
|
@ -111,15 +111,13 @@ static BOOL
|
|||
CreateLargeCell(PMAP infoPtr)
|
||||
{
|
||||
RECT rLarge;
|
||||
POINT p;
|
||||
|
||||
CopyRect(&rLarge,
|
||||
&infoPtr->pActiveCell->CellExt);
|
||||
CopyMemory(&p, &rLarge, sizeof(POINT));
|
||||
|
||||
MapWindowPoints(infoPtr->hMapWnd,
|
||||
infoPtr->hParent,
|
||||
&p,
|
||||
(VOID*)&rLarge,
|
||||
2);
|
||||
|
||||
InflateRect(&rLarge,
|
||||
|
@ -149,15 +147,13 @@ static VOID
|
|||
MoveLargeCell(PMAP infoPtr)
|
||||
{
|
||||
RECT rLarge;
|
||||
POINT p;
|
||||
|
||||
CopyRect(&rLarge,
|
||||
&infoPtr->pActiveCell->CellExt);
|
||||
CopyMemory(&p, &rLarge, sizeof(POINT));
|
||||
|
||||
MapWindowPoints(infoPtr->hMapWnd,
|
||||
infoPtr->hParent,
|
||||
&p,
|
||||
(VOID*)&rLarge,
|
||||
2);
|
||||
|
||||
InflateRect(&rLarge,
|
||||
|
|
Loading…
Reference in a new issue