diff --git a/src/hb-ot-layout-gsubgpos.hh b/src/hb-ot-layout-gsubgpos.hh index 0c682aeee..27bb492fd 100644 --- a/src/hb-ot-layout-gsubgpos.hh +++ b/src/hb-ot-layout-gsubgpos.hh @@ -77,9 +77,7 @@ struct hb_closure_context_t : } bool lookup_limit_exceeded () - { - return lookup_count > HB_MAX_LOOKUP_INDICES; - } + { return lookup_count > HB_MAX_LOOKUP_INDICES; } bool should_visit_lookup (unsigned int lookup_index) { @@ -165,9 +163,7 @@ struct hb_closure_lookups_context_t : { inactive_lookups->add (lookup_index); } bool lookup_limit_exceeded () - { - return lookup_count > HB_MAX_LOOKUP_INDICES; - } + { return lookup_count > HB_MAX_LOOKUP_INDICES; } bool is_lookup_visited (unsigned lookup_index) { @@ -2084,9 +2080,7 @@ struct ChainRule void closure (hb_closure_context_t *c, ChainContextClosureLookupContext &lookup_context) const { - if (c->lookup_limit_exceeded ()) { - return; - } + if (c->lookup_limit_exceeded ()) return; const HeadlessArrayOf &input = StructAfter> (backtrack); const ArrayOf &lookahead = StructAfter> (input); @@ -2101,9 +2095,7 @@ struct ChainRule void closure_lookups (hb_closure_lookups_context_t *c) const { - if (c->lookup_limit_exceeded ()) { - return; - } + if (c->lookup_limit_exceeded ()) return; const HeadlessArrayOf &input = StructAfter> (backtrack); const ArrayOf &lookahead = StructAfter> (input); @@ -2271,9 +2263,7 @@ struct ChainRuleSet } void closure (hb_closure_context_t *c, ChainContextClosureLookupContext &lookup_context) const { - if (c->lookup_limit_exceeded ()) { - return; - } + if (c->lookup_limit_exceeded ()) return; return + hb_iter (rule) @@ -2284,9 +2274,7 @@ struct ChainRuleSet void closure_lookups (hb_closure_lookups_context_t *c) const { - if (c->lookup_limit_exceeded ()) { - return; - } + if (c->lookup_limit_exceeded ()) return; return + hb_iter (rule)