Revert "Don't process lookups if buffer is in error"

This reverts commit f92bd86cc8.

We don't want to be like cairo, where as soon as there's an error,
nothing works anymore.  So, lets process lookups as long as there's
no new memory needed.  That's also a model that hides fewer bugs.
This commit is contained in:
Behdad Esfahbod 2015-11-06 16:18:09 -08:00
parent a6d7668a95
commit 5337db29af
1 changed files with 1 additions and 1 deletions

View File

@ -954,7 +954,7 @@ apply_string (OT::hb_apply_context_t *c,
{
hb_buffer_t *buffer = c->buffer;
if (unlikely (buffer->in_error || !buffer->len || !c->lookup_mask))
if (unlikely (!buffer->len || !c->lookup_mask))
return;
c->set_lookup_props (lookup.get_props ());