Revert "Minor fix re sanitize of Lookup subtables"

This reverts commit 7146718bef.

Fixing differently.
This commit is contained in:
Behdad Esfahbod 2018-12-12 09:44:30 -05:00
parent 7ee5c52345
commit f9d211af1d
1 changed files with 1 additions and 3 deletions

View File

@ -693,9 +693,7 @@ struct Lookup
unsigned int lookup_type = get_type (); unsigned int lookup_type = get_type ();
TRACE_DISPATCH (this, lookup_type); TRACE_DISPATCH (this, lookup_type);
unsigned int count = get_subtable_count (); unsigned int count = get_subtable_count ();
for (unsigned int i = 0; i < count; i++) for (unsigned int i = 0; i < count; i++) {
{
if (unlikely (!subTable.arrayZ[i])) continue;
typename context_t::return_t r = get_subtable<TSubTable> (i).dispatch (c, lookup_type); typename context_t::return_t r = get_subtable<TSubTable> (i).dispatch (c, lookup_type);
if (c->stop_sublookup_iteration (r)) if (c->stop_sublookup_iteration (r))
return_trace (r); return_trace (r);