mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 13:56:16 +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)
|
CreateLargeCell(PMAP infoPtr)
|
||||||
{
|
{
|
||||||
RECT rLarge;
|
RECT rLarge;
|
||||||
POINT p;
|
|
||||||
|
|
||||||
CopyRect(&rLarge,
|
CopyRect(&rLarge,
|
||||||
&infoPtr->pActiveCell->CellExt);
|
&infoPtr->pActiveCell->CellExt);
|
||||||
CopyMemory(&p, &rLarge, sizeof(POINT));
|
|
||||||
|
|
||||||
MapWindowPoints(infoPtr->hMapWnd,
|
MapWindowPoints(infoPtr->hMapWnd,
|
||||||
infoPtr->hParent,
|
infoPtr->hParent,
|
||||||
&p,
|
(VOID*)&rLarge,
|
||||||
2);
|
2);
|
||||||
|
|
||||||
InflateRect(&rLarge,
|
InflateRect(&rLarge,
|
||||||
|
@ -149,15 +147,13 @@ static VOID
|
||||||
MoveLargeCell(PMAP infoPtr)
|
MoveLargeCell(PMAP infoPtr)
|
||||||
{
|
{
|
||||||
RECT rLarge;
|
RECT rLarge;
|
||||||
POINT p;
|
|
||||||
|
|
||||||
CopyRect(&rLarge,
|
CopyRect(&rLarge,
|
||||||
&infoPtr->pActiveCell->CellExt);
|
&infoPtr->pActiveCell->CellExt);
|
||||||
CopyMemory(&p, &rLarge, sizeof(POINT));
|
|
||||||
|
|
||||||
MapWindowPoints(infoPtr->hMapWnd,
|
MapWindowPoints(infoPtr->hMapWnd,
|
||||||
infoPtr->hParent,
|
infoPtr->hParent,
|
||||||
&p,
|
(VOID*)&rLarge,
|
||||||
2);
|
2);
|
||||||
|
|
||||||
InflateRect(&rLarge,
|
InflateRect(&rLarge,
|
||||||
|
|
Loading…
Reference in a new issue