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:
Christoph von Wittich 2008-01-25 17:41:29 +00:00
parent 16361a1a3d
commit 5f0802d25b

View file

@ -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,