This commit is contained in:
Behdad Esfahbod 2018-06-11 22:02:38 -04:00
parent a95cde15af
commit f56cd9df10
1 changed files with 3 additions and 1 deletions

View File

@ -977,7 +977,9 @@ hb_ot_layout_lookups_substitute_closure (hb_face_t *face,
{
for (hb_codepoint_t lookup_index = HB_SET_VALUE_INVALID; hb_set_next (lookups, &lookup_index);)
gsub.get_lookup (lookup_index).closure (&c, lookup_index);
} else {
}
else
{
for (unsigned int i = 0; i < gsub.get_lookup_count (); i++)
gsub.get_lookup (i).closure (&c, i);
}