mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
[aat] Minor
This commit is contained in:
1 parent
102af615f1
commit
1bb8ed86d6
1 file changed
+1
-3
@@ -532,7 +532,7 @@ struct StateTableDriver
|
||||
|
||||
unsigned int state = StateTable<EntryData>::STATE_START_OF_TEXT;
|
||||
bool last_was_dont_advance = false;
|
||||
for (buffer->idx = 0;;)
|
||||
for (buffer->idx = 0; buffer->successful;)
|
||||
{
|
||||
unsigned int klass = buffer->idx < buffer->len ?
|
||||
machine.get_class (buffer->info[buffer->idx].codepoint, num_glyphs) :
|
||||
@@ -566,8 +566,6 @@ struct StateTableDriver
|
||||
if (unlikely (!c->transition (this, entry)))
|
||||
break;
|
||||
|
||||
if (unlikely (!buffer->successful)) return;
|
||||
|
||||
last_was_dont_advance = (entry->flags & context_t::DontAdvance) && buffer->max_ops-- > 0;
|
||||
|
||||
state = entry->newState;
|
||||
|
||||
Reference in new issue
Block a user