diff options
author | Sebastian Geerken <devnull@localhost> | 2013-08-19 14:47:36 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-08-19 14:47:36 +0200 |
commit | c9275329477ed56f2cb4f0d705a7338e1d2c026c (patch) | |
tree | fe29480c19b8a149aadf8b7afba10c94fc97d10b /src/styleengine.cc | |
parent | 24d2063654f6f229f520972b43c946741a909cf0 (diff) |
New prefs variable "white_bg_replacement".
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index 23294ed1..b3ea8b3b 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -445,8 +445,8 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props) { if (prefs.allow_white_bg || p->value.intVal != 0xffffff) attrs->backgroundColor = Color::create(layout, p->value.intVal); else - //attrs->backgroundColor = Color::create(layout, 0xdcd1ba); - attrs->backgroundColor = Color::create(layout, 0xe0e0a3); + attrs->backgroundColor = + Color::create(layout, prefs.white_bg_replacement); break; case CSS_PROPERTY_BORDER_COLLAPSE: attrs->borderCollapse = (BorderCollapse) p->value.intVal; |