Minor
This commit is contained in:
parent
7b84c536c1
commit
44b8ee0c90
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue