diff options
author | Benjamin Otte <otte@redhat.com> | 2012-12-01 16:23:08 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-12-01 16:27:45 +0100 |
commit | 1688403ae6105d7c1f16d19c2775071418e92b85 (patch) | |
tree | d7bdbec15b34e5e2fd6e179519a12bfddabc105f /gtk/gtkcssenumvalue.c | |
parent | 5942099f0003c5ceecfe219fa1aeffe647b170e8 (diff) | |
download | gtk+-1688403ae6105d7c1f16d19c2775071418e92b85.tar.gz |
cssvalue: Fix the scaling factors for 'smaller' and 'larger'
They were reversed. Looks like a bad case of copy/paste failure.
Diffstat (limited to 'gtk/gtkcssenumvalue.c')
-rw-r--r-- | gtk/gtkcssenumvalue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcssenumvalue.c b/gtk/gtkcssenumvalue.c index f91ba889a2..e1f1d1c478 100644 --- a/gtk/gtkcssenumvalue.c +++ b/gtk/gtkcssenumvalue.c @@ -203,7 +203,7 @@ gtk_css_value_font_size_compute (GtkCssValue *value, else font_size = _gtk_css_font_size_get_default (provider); /* XXX: This is what WebKit does... */ - font_size *= 1.2; + font_size /= 1.2; break; case GTK_CSS_FONT_SIZE_LARGER: *dependencies = GTK_CSS_DEPENDS_ON_PARENT; @@ -212,7 +212,7 @@ gtk_css_value_font_size_compute (GtkCssValue *value, else font_size = _gtk_css_font_size_get_default (provider); /* XXX: This is what WebKit does... */ - font_size /= 1.2; + font_size *= 1.2; break; } |