summaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-06 20:22:43 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-06 20:22:43 +0100
commit0135f90bd480311f2d74f4e43e3cfbf3feaf4277 (patch)
tree999fd39df1d5a546902c503130240024164516e9 /src/styleengine.cc
parent53eb3f779cb9cdb324745b889936db49808534fc (diff)
initialize styleAttribute and inheritBackgroundColor (by Jorge)
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc2
1 files changed, 2 insertions, 0 deletions
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 () {