From 6c118637ea99f74c49803ac528d70a38c54bbd64 Mon Sep 17 00:00:00 2001 From: Jorge Arellano Cid Date: Mon, 18 Jan 2010 08:47:48 -0300 Subject: Changed the default background color when allow_white_bg=NO (part 2) --- src/styleengine.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/styleengine.cc b/src/styleengine.cc index cf61044b..1ca57054 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -355,7 +355,8 @@ void StyleEngine::apply (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, 0xdcd1ba); + attrs->backgroundColor = Color::create(layout, 0xe0e0a3); break; case CSS_PROPERTY_BORDER_TOP_COLOR: attrs->borderColor.top = -- cgit v1.2.3