summaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
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;