diff options
author | corvid <devnull@localhost> | 2015-05-09 02:54:15 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2015-05-09 02:54:15 +0000 |
commit | febefaacf08bbf5ef49e53fb799d88f227e89867 (patch) | |
tree | 18964d23804907840110c9f8ac7bb7514c87b5c8 /src | |
parent | 706b795680528972802ccb3a9d7595d3014353fe (diff) |
fix font-size:(larger|smaller)
Diffstat (limited to 'src')
-rw-r--r-- | src/styleengine.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index 113eac44..91a2b2c5 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -429,12 +429,10 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props, fontAttrs.size = roundInt(24.2 * prefs.font_factor); break; case CSS_FONT_SIZE_SMALLER: - fontAttrs.size = roundInt(fontAttrs.size * 0.83 * - prefs.font_factor); + fontAttrs.size = roundInt(fontAttrs.size * 0.83); break; case CSS_FONT_SIZE_LARGER: - fontAttrs.size = roundInt(fontAttrs.size * 1.2 * - prefs.font_factor); + fontAttrs.size = roundInt(fontAttrs.size * 1.2); break; default: assert(false); // invalid font-size enum |