提交 f92bd86c 编写于 作者: B Behdad Esfahbod

Don't process lookups if buffer is in error

上级 4301703b
......@@ -954,7 +954,7 @@ apply_string (OT::hb_apply_context_t *c,
{
hb_buffer_t *buffer = c->buffer;
if (unlikely (!buffer->len || !c->lookup_mask))
if (unlikely (buffer->in_error || !buffer->len || !c->lookup_mask))
return;
c->set_lookup_props (lookup.get_props ());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册