summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c
index 43bbe56e..64f586ce 100644
--- a/src/ui/widget.c
+++ b/src/ui/widget.c
@@ -338,7 +338,7 @@ static iBool setWidth_Widget_(iWidget *d, int width) {
338static iBool setHeight_Widget_(iWidget *d, int height) { 338static iBool setHeight_Widget_(iWidget *d, int height) {
339 iAssert(height >= 0); 339 iAssert(height >= 0);
340 if (d->sizeRef) { 340 if (d->sizeRef) {
341 return; /* height defined by another widget */ 341 return iFalse; /* height defined by another widget */
342 } 342 }
343 TRACE(d, "attempt to set height to %d (current: %d, min height: %d)", height, d->rect.size.y, d->minSize.y); 343 TRACE(d, "attempt to set height to %d (current: %d, min height: %d)", height, d->rect.size.y, d->minSize.y);
344 height = iMax(height, d->minSize.y); 344 height = iMax(height, d->minSize.y);