提交 44b8ee0c 编写于 作者: B Behdad Esfahbod

Minor

上级 7b84c536
......@@ -1371,7 +1371,8 @@ struct PosLookup : Lookup
if (!_hb_ot_layout_check_glyph_property (c->face, &c->buffer->cur(), c->lookup_props, &c->property))
return false;
for (unsigned int i = 0; i < get_subtable_count (); i++)
unsigned int count = get_subtable_count ();
for (unsigned int i = 0; i < count; i++)
if (get_subtable (i).apply (c, lookup_type))
return true;
......
......@@ -147,7 +147,7 @@ _hb_ot_layout_check_glyph_property (hb_face_t *face,
unsigned int property;
property = _hb_ot_layout_get_glyph_property (face, ginfo);
(void) (property_out && (*property_out = property));
*property_out = property;
return _hb_ot_layout_match_properties (face, ginfo->codepoint, property, lookup_props);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册