Show the shaper name in the debug message (#306)

This commit is contained in:
Khaled Hosny 2016-08-27 16:38:42 +03:00 committed by GitHub
parent 547ddb0721
commit 3d976d20f1
1 changed files with 3 additions and 2 deletions

View File

@ -289,9 +289,10 @@ hb_shape_plan_execute (hb_shape_plan_t *shape_plan,
unsigned int num_features) unsigned int num_features)
{ {
DEBUG_MSG_FUNC (SHAPE_PLAN, shape_plan, DEBUG_MSG_FUNC (SHAPE_PLAN, shape_plan,
"num_features=%d shaper_func=%p", "num_features=%d shaper_func=%p, shaper_name=%s",
num_features, num_features,
shape_plan->shaper_func); shape_plan->shaper_func,
shape_plan->shaper_name);
if (unlikely (!buffer->len)) if (unlikely (!buffer->len))
return true; return true;