changeset 1118:e49866fe3be6

use backgroundStyle() to ensure that backgroundColor is set
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Fri, 22 May 2009 09:12:25 +0200
parents 483f789f6cae
children 717e6ced084f
files src/html.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/html.cc	Fri May 22 09:09:21 2009 +0200
+++ b/src/html.cc	Fri May 22 09:12:25 2009 +0200
@@ -1741,7 +1741,7 @@
          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;