summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-11 21:57:32 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-11 21:57:32 +0200
commitf1cd41cc277cb7e509b60aabdf5308ec20c37637 (patch)
tree5037ea0ae27eebf2c4702efdc1ccdf3411229804
parentb8591b41fda0567721b024059f9b4497e3d259e4 (diff)
start restyling at 1
-rw-r--r--src/styleengine.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index 8653ed68..9d3b8988 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -713,7 +713,7 @@ Style * StyleEngine::wordStyle0 () {
}
void StyleEngine::restyle () {
- for (int i = 0; i < stack->size (); i++) {
+ for (int i = 1; i < stack->size (); i++) {
Node *n = stack->getRef (i);
if (n->style) {
n->style->unref ();