mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 19:55:40 +00:00
gdiplus: Correct EMF record size calculation.
This commit is contained in:
parent
6214e5b92c
commit
a424968482
|
@ -410,7 +410,7 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile,
|
|||
if (record)
|
||||
{
|
||||
record->iType = recordType;
|
||||
record->nSize = dataSize;
|
||||
record->nSize = dataSize + 8;
|
||||
memcpy(record->dParm, data, dataSize);
|
||||
|
||||
PlayEnhMetaFileRecord(metafile->playback_dc, metafile->handle_table,
|
||||
|
|
Loading…
Reference in a new issue