summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-19 12:09:38 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-19 12:09:38 +0300
commit0a9da83b10f8f3a1f7f0b03da30a646b9e8d4da3 (patch)
tree474415170200376af9c46dbc36aa60e000d92c5c /src
parentd2a76230effce8586b7d90beff519e221e744bf7 (diff)
Cleanup
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);