aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2010-01-18 08:47:48 -0300
committerJorge Arellano Cid <jcid@dillo.org>2010-01-18 08:47:48 -0300
commit6c118637ea99f74c49803ac528d70a38c54bbd64 (patch)
treed016c76d2de104a4d4fbe8ac498de0501fe1637f
parent80e2925a353d122cff1a42d86348228d1d8b182b (diff)
Changed the default background color when allow_white_bg=NO (part 2)
-rw-r--r--src/styleengine.cc3
1 files changed, 2 insertions, 1 deletions
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 =