summaryrefslogtreecommitdiff
path: root/pango/pangocoretext-shape.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangocoretext-shape.c')
-rw-r--r--pango/pangocoretext-shape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocoretext-shape.c b/pango/pangocoretext-shape.c
index ef066eea..60f6b166 100644
--- a/pango/pangocoretext-shape.c
+++ b/pango/pangocoretext-shape.c
@@ -401,7 +401,7 @@ _pango_core_text_shape (PangoFont *font,
return;
/* Translate the glyph list to a PangoGlyphString */
- n_chars = g_utf8_strlen (text, length);
+ n_chars = pango_utf8_strlen (text, length);
pango_glyph_string_set_size (glyphs, n_chars);
glyph_iter = glyph_list;