mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 12:43:42 +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:
parent
7bedbf6ae4
commit
09f8a751e8
|
@ -269,7 +269,7 @@ INT CALLBACK cbCountSizeOfEnhMetaFile( HDC a,
|
||||||
{
|
{
|
||||||
LPUINT uSizeOfRecordData = (LPUINT)lpData;
|
LPUINT uSizeOfRecordData = (LPUINT)lpData;
|
||||||
|
|
||||||
uSizeOfRecordData += lpEMR->nSize;
|
*uSizeOfRecordData += lpEMR->nSize;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue