mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
Add assert
This commit is contained in:
1 parent
fe28b997fb
commit
d4adade217
1 file changed
+2
@@ -400,6 +400,8 @@ hb_ot_shape_plan_internal (hb_ot_shape_plan_t *plan,
|
||||
{
|
||||
hb_ot_shape_planner_t planner;
|
||||
|
||||
assert (HB_DIRECTION_IS_VALID (props->direction));
|
||||
|
||||
planner.shaper = hb_ot_shape_complex_categorize (props);
|
||||
|
||||
hb_ot_shape_collect_features (&planner, props, user_features, num_user_features);
|
||||
|
||||
Reference in new issue
Block a user