changeset 1736:6b1ecbfe96b5

start restyling at 1
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 11 Oct 2010 21:57:32 +0200
parents 9b95f6d31e13
children 31d490fe7e0a
files src/styleengine.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/styleengine.cc	Mon Oct 11 21:56:57 2010 +0200
+++ b/src/styleengine.cc	Mon Oct 11 21:57:32 2010 +0200
@@ -713,7 +713,7 @@
 }
 
 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 ();