Author: cwittich
Date: Fri Jan 25 20:41:29 2008
New Revision: 32002
URL:
http://svn.reactos.org/svn/reactos?rev=32002&view=rev
Log:
wasn't fast enough to hit the cancel button
cast to VOID* instead of using CopyMemory
Modified:
trunk/reactos/base/applications/charmap/map.c
Modified: trunk/reactos/base/applications/charmap/map.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
==============================================================================
--- trunk/reactos/base/applications/charmap/map.c (original)
+++ trunk/reactos/base/applications/charmap/map.c Fri Jan 25 20:41:29 2008
@@ -111,15 +111,13 @@
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 @@
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,