From 09f8a751e8039e778711d2cf4c5634aeba79e535 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sat, 4 Mar 2000 19:18:23 +0000 Subject: [PATCH] Lilia Roumiantseva cbCountSizeOfEnhMetafile callback function instead of increasing a contents of the pointer to the size increased the pointer itself. --- objects/enhmetafile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/enhmetafile.c b/objects/enhmetafile.c index 21a95c799f9..6a4e3f8a5a0 100644 --- a/objects/enhmetafile.c +++ b/objects/enhmetafile.c @@ -269,7 +269,7 @@ INT CALLBACK cbCountSizeOfEnhMetaFile( HDC a, { LPUINT uSizeOfRecordData = (LPUINT)lpData; - uSizeOfRecordData += lpEMR->nSize; + *uSizeOfRecordData += lpEMR->nSize; return TRUE; }