From c9275329477ed56f2cb4f0d705a7338e1d2c026c Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Mon, 19 Aug 2013 14:47:36 +0200 Subject: New prefs variable "white_bg_replacement". --- src/styleengine.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/styleengine.cc') 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; -- cgit v1.2.3