From dd0641a432691f9b6186b081c38053858c8bc5c1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 21 Apr 2013 15:13:57 -0400 Subject: [PATCH] Minor --- src/hb-ot-map.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-map.cc b/src/hb-ot-map.cc index 6228c5f..5300639 100644 --- a/src/hb-ot-map.cc +++ b/src/hb-ot-map.cc @@ -115,10 +115,11 @@ void hb_ot_map_t::substitute (const hb_ot_shape_plan_t *plan, hb_font_t *font, h lookups[table_index][i].mask, lookups[table_index][i].auto_zwj); - buffer->clear_output (); - if (pause->callback) + { + buffer->clear_output (); pause->callback (plan, font, buffer); + } } } -- 2.7.4