[morx] Fix mark_set check
This commit is contained in:
parent
0739b28169
commit
5fd8bce945
|
@ -608,7 +608,7 @@ struct InsertionSubtable
|
|||
hb_buffer_t *buffer = driver->buffer;
|
||||
unsigned int flags = entry->flags;
|
||||
|
||||
if (entry->data.markedInsertIndex != 0xFFFF)
|
||||
if (entry->data.markedInsertIndex != 0xFFFF && mark_set)
|
||||
{
|
||||
unsigned int count = (flags & MarkedInsertCount);
|
||||
unsigned int start = entry->data.markedInsertIndex;
|
||||
|
@ -617,8 +617,6 @@ struct InsertionSubtable
|
|||
|
||||
bool before = flags & MarkedInsertBefore;
|
||||
|
||||
if (unlikely (!mark_set)) return false;
|
||||
|
||||
unsigned int end = buffer->out_len;
|
||||
buffer->move_to (mark);
|
||||
|
||||
|
|
Loading…
Reference in New Issue