gdiplus: Skip the EMR_HEADER record when looking for the EMF+ header.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ccf430eb52
commit
198acf7e8c
|
@ -908,6 +908,8 @@ static int CALLBACK get_metafile_type_proc(HDC hDC, HANDLETABLE *lpHTable, const
|
||||||
else
|
else
|
||||||
*result = MetafileTypeEmf;
|
*result = MetafileTypeEmf;
|
||||||
}
|
}
|
||||||
|
else if (lpEMFR->iType == EMR_HEADER)
|
||||||
|
return TRUE;
|
||||||
else
|
else
|
||||||
*result = MetafileTypeEmf;
|
*result = MetafileTypeEmf;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue