Commit 198acf7e authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Skip the EMR_HEADER record when looking for the EMF+ header.

parent ccf430eb
...@@ -908,6 +908,8 @@ static int CALLBACK get_metafile_type_proc(HDC hDC, HANDLETABLE *lpHTable, const ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment