From 7033fe5877c6f9500575f20f17135f74dc9c0547 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 18 Feb 2018 17:12:04 -0800 Subject: [PATCH] [aat] Minor --- src/hb-aat-layout-common-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-aat-layout-common-private.hh b/src/hb-aat-layout-common-private.hh index fea3b0949..7c0dfa8b0 100644 --- a/src/hb-aat-layout-common-private.hh +++ b/src/hb-aat-layout-common-private.hh @@ -657,7 +657,7 @@ struct StateTableDriver if (unlikely (!c->transition (this, entry))) break; - last_was_dont_advance = (entry->flags & context_t::DontAdvance) && buffer->max_ops--; + last_was_dont_advance = (entry->flags & context_t::DontAdvance) && buffer->max_ops-- > 0; state = entry->newState;