gdi32: Set offPalEntries member of EMREOF to what XP sets it to.
This commit is contained in:
parent
9227e25660
commit
4efbf36cd5
|
@ -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 New Issue