summaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-08-21 20:05:58 +0200
committerSebastian Geerken <devnull@localhost>2013-08-21 20:05:58 +0200
commite48606662f5f12d2d3fd70ae4b4528aaf5077eab (patch)
treefe9fd57388ecb698760463b5ceb9c143c77aa8fa /src/styleengine.cc
parent3387afad4355f7d9d3853801ac6c8bc40965d79d (diff)
parent562ad1990d1ce0b97f6df523bee85058b848cc85 (diff)
Merge with main repo.
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index 7a76d18a..22dbbf7e 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;