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, 2 insertions, 2 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index ddeb4978..3191c029 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -1677,9 +1677,9 @@ pango_attr_iterator_get_font (PangoAttrIterator *iterator,
{
mask |= PANGO_FONT_MASK_SIZE;
if (((PangoAttrSize *)attr)->absolute)
- pango_font_description_set_size (desc, ((PangoAttrSize *)attr)->size);
- else
pango_font_description_set_absolute_size (desc, ((PangoAttrSize *)attr)->size);
+ else
+ pango_font_description_set_size (desc, ((PangoAttrSize *)attr)->size);
}
break;
case PANGO_ATTR_SCALE: