diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-05-30 00:06:51 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-05-30 00:06:51 +0000 |
commit | 986a39cd511cfd1e09d2af96d803ef37f7f10d50 (patch) | |
tree | 0fe21fa80d9460a5bc810732c81aaffbe3224296 /pango | |
parent | 7a99e2899c57301a7784379222f4a1f7e6b668ba (diff) | |
download | pango-986a39cd511cfd1e09d2af96d803ef37f7f10d50.tar.gz |
=== Released 1.2.2 ===PANGO_1_2_2
Thu May 29 20:05:45 2003 Owen Taylor <otaylor@redhat.com>
* === Released 1.2.2 ===
* pango/pango-glyph-item.c: Fix a stupid bug in the
shortcircuit case.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-glyph-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-glyph-item.c b/pango/pango-glyph-item.c index a18dd0d9..c1b40aa9 100644 --- a/pango/pango-glyph-item.c +++ b/pango/pango-glyph-item.c @@ -319,6 +319,8 @@ pango_glyph_item_apply_attrs (PangoGlyphItem *glyph_item, g_assert (pango_attr_iterator_next (iter)); } + state.segment_attrs = pango_attr_iterator_get_attrs (iter); + /* Short circuit the case when we don't actually need to * split the item */ @@ -326,8 +328,6 @@ pango_glyph_item_apply_attrs (PangoGlyphItem *glyph_item, range_end >= glyph_item->item->offset + glyph_item->item->length) goto out; - state.segment_attrs = pango_attr_iterator_get_attrs (iter); - while (TRUE) { /* Find the next logical cluster; [range_start,range_end] |