Minor
This commit is contained in:
parent
b3b89b6658
commit
1d3947a6bd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue