aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
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 () {