projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ee5c52
)
Revert "Minor fix re sanitize of Lookup subtables"
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 12 Dec 2018 14:44:30 +0000
(09:44 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 12 Dec 2018 14:44:30 +0000
(09:44 -0500)
This reverts commit
7146718bef81492e13aede0a2801cda1da41ce35
.
Fixing differently.
src/hb-ot-layout-common.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-common.hh
b/src/hb-ot-layout-common.hh
index
ba6fab0
..
cc1af15
100644
(file)
--- a/
src/hb-ot-layout-common.hh
+++ b/
src/hb-ot-layout-common.hh
@@
-693,9
+693,7
@@
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++)
- {
- if (unlikely (!subTable.arrayZ[i])) continue;
+ for (unsigned int i = 0; i < count; i++) {
typename context_t::return_t r = get_subtable<TSubTable> (i).dispatch (c, lookup_type);
if (c->stop_sublookup_iteration (r))
return_trace (r);