From 0135f90bd480311f2d74f4e43e3cfbf3feaf4277 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 6 Jan 2009 20:22:43 +0100 Subject: initialize styleAttribute and inheritBackgroundColor (by Jorge) --- src/styleengine.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/styleengine.cc') diff --git a/src/styleengine.cc b/src/styleengine.cc index 5e7b39e9..bd5c60ed 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -41,6 +41,8 @@ StyleEngine::StyleEngine (dw::core::Layout *layout) { n->style = Style::create (layout, &style_attrs); n->wordStyle = NULL; n->pseudo = NULL; + n->styleAttribute = NULL; + n->inheritBackgroundColor = false; } StyleEngine::~StyleEngine () { -- cgit v1.2.3