diff --git a/reactos/base/applications/charmap/map.c b/reactos/base/applications/charmap/map.c index 8d06967d539..c6b4572a668 100644 --- a/reactos/base/applications/charmap/map.c +++ b/reactos/base/applications/charmap/map.c @@ -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,