[shape-plan] Fix typo!

The only effect is, if shaper_list was not NULL and no shaper was found,
we now don't insert anything into cache and return earlier.
This commit is contained in:
Behdad Esfahbod 2014-08-12 17:15:09 -04:00
parent dc9aba6fc5
commit 30eed75de2
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ hb_shape_plan_create_cached (hb_face_t *face,
#include "hb-shaper-list.hh"
#undef HB_SHAPER_IMPLEMENT
if (unlikely (!proposal.shaper_list))
if (unlikely (!proposal.shaper_func))
return hb_shape_plan_get_empty ();
}