dwrite: Avoid dereferencing NULL pointer for fonts without VDMX.

This commit is contained in:
Sebastian Lackner 2015-07-12 03:46:20 +02:00 committed by Alexandre Julliard
parent b687fee66f
commit 402caa632b
1 changed files with 1 additions and 1 deletions

View File

@ -1347,7 +1347,7 @@ static const struct VDMX_group *find_vdmx_group(const struct VDMX_Header *hdr)
BOOL opentype_get_vdmx_size(const void *data, INT emsize, UINT16 *ascent, UINT16 *descent)
{
const struct VDMX_Header *hdr = (const struct VDMX_Header*)data;
const struct VDMX_group *group = find_vdmx_group(hdr);
const struct VDMX_group *group;
const struct VDMX_vTable *tables;
WORD recs, i;