summaryrefslogtreecommitdiff
path: root/otk/focuslabel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'otk/focuslabel.cc')
-rw-r--r--otk/focuslabel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/otk/focuslabel.cc b/otk/focuslabel.cc
index 8ac328e7..bd74aa94 100644
--- a/otk/focuslabel.cc
+++ b/otk/focuslabel.cc
@@ -58,7 +58,7 @@ void FocusLabel::update()
internalResize(w, h);
else
internalResize(w, _rect.height());
- } else
+ } else if (h > _rect.height())
internalResize(_rect.width(), h);
}
FocusWidget::update();