summaryrefslogtreecommitdiff
path: root/pango/glyphstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/glyphstring.c')
-rw-r--r--pango/glyphstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/glyphstring.c b/pango/glyphstring.c
index 9ac489c7..48b46b71 100644
--- a/pango/glyphstring.c
+++ b/pango/glyphstring.c
@@ -142,7 +142,7 @@ pango_glyph_string_extents_range (PangoGlyphString *glyphs,
PangoGlyphGeometry *geometry = &glyphs->glyphs[i].geometry;
- if (i == 0)
+ if (i == start)
{
pango_font_get_glyph_extents (font, glyphs->glyphs[i].glyph,
ink_rect, logical_rect);