[pango/harfbuzz-ng-external: 26/28] Always call hb_ot_layout_position_finish()



commit a4edc4452eed8298ac48649f0cfec2db7c8a3b84
Author: Behdad Esfahbod <behdad behdad org>
Date:   Fri Apr 15 18:51:52 2011 -0400

    Always call hb_ot_layout_position_finish()

 pango/pango-ot-info.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index e0d369e..d28bfeb 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -447,8 +447,7 @@ _pango_ot_info_position    (const PangoOTInfo    *info,
       buffer->applied_gpos = TRUE;
     }
 
-  if (buffer->applied_gpos)
-    hb_ot_layout_position_finish (buffer->buffer);
+  hb_ot_layout_position_finish (buffer->buffer);
 
   hb_font_destroy (hb_font);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]