aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-04 19:06:05 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-04 19:06:05 +0100
commitd9e2b8de79ca2235611436c1982f2f026f6f646e (patch)
tree2188be14f0f3c70d55e81980be478c32194175fc /src/styleengine.cc
parentf5f1224bd8cdc70f56c4014e3934ab3f8cd3996f (diff)
use styleEngine->wordStyle() for adding text or parbreaks
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index d6f7d667..a3cb1444 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -59,6 +59,7 @@ void StyleEngine::startElement (int element) {
stack->increase ();
Node *n = stack->getRef (stack->size () - 1);
n->style = NULL;
+ n->wordStyle = NULL;
n->depth = stack->size () - 1;
n->element = element;
n->id = NULL;