From f1cd41cc277cb7e509b60aabdf5308ec20c37637 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 11 Oct 2010 21:57:32 +0200 Subject: start restyling at 1 --- src/styleengine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/styleengine.cc') 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 (); -- cgit v1.2.3