Commit 402caa63 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

dwrite: Avoid dereferencing NULL pointer for fonts without VDMX.

parent b687fee6
......@@ -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;
......
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