diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-11-17 20:45:57 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-11-17 20:45:57 +0000 |
commit | 3fd281efc12ebd086618317c98521cb69287599b (patch) | |
tree | 59cc085cce9d5f017430a598e09fb5691fefc03f /pango/glyphstring.c | |
parent | 5ab5ba7137010fa6fc5be4c7e171fe3081f5f616 (diff) | |
download | pango-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.c | 2 |
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); |