summaryrefslogtreecommitdiff
path: root/pango/glyphstring.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-11-17 20:45:57 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-11-17 20:45:57 +0000
commit3fd281efc12ebd086618317c98521cb69287599b (patch)
tree59cc085cce9d5f017430a598e09fb5691fefc03f /pango/glyphstring.c
parent5ab5ba7137010fa6fc5be4c7e171fe3081f5f616 (diff)
downloadpango-3fd281efc12ebd086618317c98521cb69287599b.tar.gz
Test against start not zero.
Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com> * pango/glyphstring.c (pango_glyph_string_extents_range): Test against start not zero.
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);