[kerx] Minor

This commit is contained in:
Behdad Esfahbod 2018-11-07 11:43:25 -05:00
parent 2a72091196
commit a244190afa
1 changed files with 1 additions and 2 deletions

View File

@ -524,7 +524,6 @@ struct KerxSubTableFormat4
const Entry<EntryData> *entry)
{
hb_buffer_t *buffer = driver->buffer;
unsigned int flags = entry->flags;
if (mark_set && entry->data.ankrActionIndex != 0xFFFF && buffer->idx < buffer->len)
{
@ -600,7 +599,7 @@ struct KerxSubTableFormat4
buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT;
}
if (flags & Mark)
if (entry->flags & Mark)
{
mark_set = true;
mark = buffer->idx;