提交 df6edcd4 编写于 作者: B Behdad Esfahbod

Make face immutable in hb_font_set_face()

上级 0d425e1e
......@@ -1601,6 +1601,7 @@ hb_font_set_face (hb_font_t *font,
hb_face_t *old = font->face;
hb_face_make_immutable (face);
font->face = hb_face_reference (face);
hb_face_destroy (old);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册