aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-07-22 12:10:46 +0200
committerSebastian Geerken <devnull@localhost>2014-07-22 12:10:46 +0200
commit6cfa2fc2dc1613cd6589cf76a3b425a71e17e7ce (patch)
treea64bcf38c9dca0e8e9614f188c0f96638e686a56
parent20effe02c6bb2c53099edecb9ea48a1dbeb39709 (diff)
Fixed segfault.
-rw-r--r--dw/widget.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/widget.cc b/dw/widget.cc
index 5620ebdb..9cf53ec4 100644
--- a/dw/widget.cc
+++ b/dw/widget.cc
@@ -643,7 +643,7 @@ int Widget::getAvailHeight (bool forceValue)
} else if (parent) {
DBG_OBJ_MSG ("resize", 1, "delegated to parent");
DBG_OBJ_MSG_START ();
- height = quasiParent->getAvailHeightOfChild (this, forceValue);
+ height = parent->getAvailHeightOfChild (this, forceValue);
DBG_OBJ_MSG_END ();
} else /* if (quasiParent) */ {
DBG_OBJ_MSG ("resize", 1, "delegated to quasiParent");