mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
gdi32: Set offPalEntries member of EMREOF to what XP sets it to.
This commit is contained in:
parent
9227e25660
commit
4efbf36cd5
1 changed files with 1 additions and 1 deletions
|
@ -457,7 +457,7 @@ HENHMETAFILE WINAPI CloseEnhMetaFile(HDC hdc) /* [in] metafile DC */
|
|||
emr.emr.iType = EMR_EOF;
|
||||
emr.emr.nSize = sizeof(emr);
|
||||
emr.nPalEntries = 0;
|
||||
emr.offPalEntries = 0;
|
||||
emr.offPalEntries = FIELD_OFFSET(EMREOF, nSizeLast);
|
||||
emr.nSizeLast = emr.emr.nSize;
|
||||
EMFDRV_WriteRecord( dc->physDev, &emr.emr );
|
||||
|
||||
|
|
Loading…
Reference in a new issue