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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index 52a1cbaf..19f0e9fc 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -199,7 +199,7 @@ pango_attr_color_copy (const PangoAttribute *attr)
const PangoAttrColor *color_attr = (PangoAttrColor *)attr;
return pango_attr_color_new (attr->klass,
- color_attr->red, color_attr->blue, color_attr->green);
+ color_attr->red, color_attr->green, color_attr->blue);
}
static void
@@ -979,6 +979,8 @@ pango_attr_iterator_get_font (PangoAttrIterator *iterator,
found = TRUE;
break;
}
+
+ tmp_list2 = tmp_list2->next;
}
if (!found)