summaryrefslogtreecommitdiff
path: root/pango/pango-ot-info.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2011-04-15 18:51:52 -0400
committerBehdad Esfahbod <behdad@behdad.org>2011-04-15 18:51:52 -0400
commita4edc4452eed8298ac48649f0cfec2db7c8a3b84 (patch)
treed4ae29c9f95e31e7f9e70ef6c1712b5710d6594d /pango/pango-ot-info.c
parent94ceb987c30a3ae2b695bb85f95b39c759b62ebe (diff)
downloadpango-a4edc4452eed8298ac48649f0cfec2db7c8a3b84.tar.gz
Always call hb_ot_layout_position_finish()
Diffstat (limited to 'pango/pango-ot-info.c')
-rw-r--r--pango/pango-ot-info.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index e0d369eb..d28bfebb 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);
}