Minor fix re sanitize of Lookup subtables
We were dereferencing Null pointers and trying to sanitize them, which is not necessary...
This commit is contained in:
parent
ce069d1932
commit
7146718bef
@ -693,7 +693,9 @@ struct Lookup
|
||||
unsigned int lookup_type = get_type ();
|
||||
TRACE_DISPATCH (this, lookup_type);
|
||||
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);
|
||||
if (c->stop_sublookup_iteration (r))
|
||||
return_trace (r);
|
||||
|
Loading…
Reference in New Issue
Block a user