aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-17 21:00:33 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-17 21:00:33 +0200
commit4559dca701ec188c97d7a8983fce1922abdf57c6 (patch)
tree21059db8e6a3ced11ec320093687240ccd53145c
parentf8443a8111ed42cd141a0541046ebc1442fcda6c (diff)
also recompute backgroundStyle in StyleEngine::restyle()
-rw-r--r--src/styleengine.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index e725649d..72d7c48b 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -746,6 +746,10 @@ void StyleEngine::restyle () {
n->wordStyle->unref ();
n->wordStyle = NULL;
}
+ if (n->backgroundStyle) {
+ n->backgroundStyle->unref ();
+ n->backgroundStyle = NULL;
+ }
style0 (i);
}