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:
Vincent Povirk 2015-10-29 15:39:41 -05:00 committed by Alexandre Julliard
parent ccf430eb52
commit 198acf7e8c
1 changed files with 2 additions and 0 deletions

View File

@ -908,6 +908,8 @@ static int CALLBACK get_metafile_type_proc(HDC hDC, HANDLETABLE *lpHTable, const
else
*result = MetafileTypeEmf;
}
else if (lpEMFR->iType == EMR_HEADER)
return TRUE;
else
*result = MetafileTypeEmf;