diff options
Diffstat (limited to 'src/html.cc')
-rw-r--r-- | src/html.cc | 2 |
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); |