1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-09 04:16:08 +00:00

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

View File

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