summaryrefslogtreecommitdiff
path: root/dw/ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/ui.cc')
-rw-r--r--dw/ui.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/dw/ui.cc b/dw/ui.cc
index 3c66856c..540ead8f 100644
--- a/dw/ui.cc
+++ b/dw/ui.cc
@@ -432,6 +432,7 @@ void ComplexButtonResource::correctRequisitionOfChild (Widget *child,
// the relief has to be considered.
if (style::isPerLength (child->getStyle()->width)) {
+ /* FIXME: Typo for getAvailWidth()? */
int availWidth = getEmbed()->getAvailHeight (false);
if (availWidth != -1) {
int baseWidth = misc::max (availWidth