summaryrefslogtreecommitdiff
path: root/pango/pango-renderer.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-renderer.c')
-rw-r--r--pango/pango-renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c
index 4c96972a..c53f645d 100644
--- a/pango/pango-renderer.c
+++ b/pango/pango-renderer.c
@@ -496,7 +496,7 @@ pango_renderer_draw_layout_line (PangoRenderer *renderer,
renderer->strikethrough)
pango_glyph_string_extents (run->glyphs, run->item->analysis.font,
&ink_rect, NULL);
- glyph_string_width = pango_glyph_string_get_width (run->glyphs, run->item->analysis.font);
+ glyph_string_width = pango_glyph_string_get_width (run->glyphs);
}
state.logical_rect_end = x + x_off + glyph_string_width;