aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-05-22 09:12:25 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-05-22 09:12:25 +0200
commit9f3c10201d49965f5221028aa8be89c58873599d (patch)
treef78268cecab6fa117aa8384c5f504ef818f87cb3
parent7da762c07377df95b2a64e7f66123f37dd45426d (diff)
use backgroundStyle() to ensure that backgroundColor is set
-rw-r--r--src/html.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc
index d3955ece..9deb8969 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -1741,7 +1741,7 @@ static void Html_tag_open_body(DilloHtml *html, const char *tag, int tagsize)
a_Color_vc(html->visited_color,
html->styleEngine->style ()->color->getColor(),
html->non_css_link_color,
- html->styleEngine->style()->backgroundColor->getColor());
+ html->styleEngine->backgroundStyle()->backgroundColor->getColor());
}
S_TOP(html)->parse_mode = DILLO_HTML_PARSE_MODE_BODY;