aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 ();