[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:
parent
dc9aba6fc5
commit
30eed75de2
|
@ -435,7 +435,7 @@ hb_shape_plan_create_cached (hb_face_t *face,
|
||||||
#include "hb-shaper-list.hh"
|
#include "hb-shaper-list.hh"
|
||||||
#undef HB_SHAPER_IMPLEMENT
|
#undef HB_SHAPER_IMPLEMENT
|
||||||
|
|
||||||
if (unlikely (!proposal.shaper_list))
|
if (unlikely (!proposal.shaper_func))
|
||||||
return hb_shape_plan_get_empty ();
|
return hb_shape_plan_get_empty ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue