提交 85555a95 编写于 作者: B Behdad Esfahbod

Initialize font->klass

上级 bcd26bd7
...@@ -344,6 +344,8 @@ hb_font_create (void) ...@@ -344,6 +344,8 @@ hb_font_create (void)
if (!HB_OBJECT_DO_CREATE (hb_font_t, font)) if (!HB_OBJECT_DO_CREATE (hb_font_t, font))
return &_hb_font_nil; return &_hb_font_nil;
font->klass = &_hb_font_funcs_nil;
return font; return font;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册