Lilia Roumiantseva

cbCountSizeOfEnhMetafile callback function instead of increasing a
contents of the pointer to the size increased the pointer itself.
This commit is contained in:
Alexandre Julliard 2000-03-04 19:18:23 +00:00
parent 7bedbf6ae4
commit 09f8a751e8
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ INT CALLBACK cbCountSizeOfEnhMetaFile( HDC a,
{
LPUINT uSizeOfRecordData = (LPUINT)lpData;
uSizeOfRecordData += lpEMR->nSize;
*uSizeOfRecordData += lpEMR->nSize;
return TRUE;
}