[aat] Minor

This commit is contained in:
Behdad Esfahbod 2018-09-19 17:32:21 -04:00
parent 7671cb9b04
commit 0739b28169
1 changed files with 2 additions and 1 deletions

View File

@ -569,7 +569,8 @@ struct StateTableDriver
/* If there's no action and we're just epsilon-transitioning to state 0,
* safe to break. */
if (c->is_actionable (this, entry) ||
!(entry->newState == 0 && entry->flags == context_t::DontAdvance))
!(entry->newState == StateTable<EntryData>::STATE_START_OF_TEXT &&
entry->flags == context_t::DontAdvance))
buffer->unsafe_to_break (buffer->idx - 1, buffer->idx + 1);
}