From 5f0802d25b083f68f85e29b8a7c527c722684bfd Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Fri, 25 Jan 2008 17:41:29 +0000 Subject: [PATCH] wasn't fast enough to hit the cancel button cast to VOID* instead of using CopyMemory svn path=/trunk/; revision=32002 --- reactos/base/applications/charmap/map.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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,