changeset 739:cb5fc438936b

initialize styleAttribute and inheritBackgroundColor (by Jorge)
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Tue, 06 Jan 2009 20:22:43 +0100
parents 48b736507093
children 2d9adb33f587
files src/styleengine.cc
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/styleengine.cc	Mon Jan 05 14:31:36 2009 +0100
+++ b/src/styleengine.cc	Tue Jan 06 20:22:43 2009 +0100
@@ -41,6 +41,8 @@
    n->style = Style::create (layout, &style_attrs);
    n->wordStyle = NULL;
    n->pseudo = NULL;
+   n->styleAttribute = NULL;
+   n->inheritBackgroundColor = false;
 }
 
 StyleEngine::~StyleEngine () {