summaryrefslogtreecommitdiff
path: root/pango/pango-attributes.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r--pango/pango-attributes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index 2fb187c9..e2441ac9 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -1281,8 +1281,8 @@ pango_attr_iterator_next (PangoAttrIterator *iterator)
{
iterator->attribute_stack = g_list_prepend (iterator->attribute_stack, iterator->next_attribute->data);
iterator->end_index = MIN (iterator->end_index, ((PangoAttribute *)iterator->next_attribute->data)->end_index);
- iterator->next_attribute = iterator->next_attribute->next;
}
+ iterator->next_attribute = iterator->next_attribute->next;
}
if (iterator->next_attribute)