diff --git a/objects/enhmetafile.c b/objects/enhmetafile.c index 21a95c799f..6a4e3f8a5a 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; }