From: Nikolay Sivov nsivov@codeweavers.com
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/dwrite/font.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c index 65bf7021938..0f1e57eb179 100644 --- a/dlls/dwrite/font.c +++ b/dlls/dwrite/font.c @@ -133,6 +133,8 @@ static int fontface_get_glyph_advance(struct dwrite_fontface *fontface, float fo struct cache_entry *entry; unsigned int value;
+ *has_contours = FALSE; + if (!(entry = fontface_get_cache_entry(fontface, 0, &key))) return 0;