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 | fd3df37d0596e4d082d9d821179119d12808dfee (patch) | |
tree | 9afb9b568251565c99b25f68deffc4ff84e4e427 /src | |
parent | b55ec9f978807cccd7de1da79e2ab91b583081bd (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 763d41e3..c005f881 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -430,12 +430,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 |