aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-09-24 23:08:24 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-09-24 23:08:24 +0200
commitb66ff3ea295863bebe2d062df0c235891f9a597b (patch)
tree9ca2de7d57b2e340d947b3b20c40e2bd23c498ad /src/html.cc
parentadd402b9774dd3a8d0a097e4d40a650e360022e4 (diff)
bring back bg_color dillorc option
Diffstat (limited to 'src/html.cc')
-rw-r--r--src/html.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html.cc b/src/html.cc
index c46ec4af..91b8ac99 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -1785,6 +1785,8 @@ static void Html_tag_open_body(DilloHtml *html, const char *tag, int tagsize)
*/
if (!bgColor)
bgColor = html->styleEngine->style ()->backgroundColor;
+ if (!bgColor)
+ bgColor = style::Color::create (HT2LT(html), prefs.bg_color);
HT2LT(html)->setBgColor(bgColor);