提交 1d3947a6 编写于 作者: B Behdad Esfahbod

Minor

上级 b3b89b66
......@@ -1535,7 +1535,7 @@ struct PosLookup : Lookup
{
bool ret = false;
if (unlikely (!c->buffer->len))
if (unlikely (!c->buffer->len || !c->lookup_mask))
return false;
c->set_lookup (*this);
......
......@@ -1316,7 +1316,7 @@ struct SubstLookup : Lookup
{
bool ret = false;
if (unlikely (!c->buffer->len))
if (unlikely (!c->buffer->len || !c->lookup_mask))
return false;
c->set_lookup (*this);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册