summaryrefslogtreecommitdiff
path: root/pango/pango-ot-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-ot-buffer.c')
-rw-r--r--pango/pango-ot-buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c
index f415c6eb..c4828a55 100644
--- a/pango/pango-ot-buffer.c
+++ b/pango/pango-ot-buffer.c
@@ -49,7 +49,7 @@ pango_ot_buffer_new (PangoFcFont *font)
FT_Face face = pango_fc_font_lock_face (font);
if (otl_buffer_new (face->memory, &buffer->buffer) != FT_Err_Ok)
- g_error ("Allocation of OTLBuffer failed");
+ g_critical ("Allocation of OTLBuffer failed"); /* this doesn't happen */
buffer->font = g_object_ref (font);
buffer->applied_gpos = FALSE;
@@ -112,7 +112,6 @@ pango_ot_buffer_add_glyph (PangoOTBuffer *buffer,
{
otl_buffer_add_glyph (buffer->buffer,
glyph, properties, cluster);
-
}
/**