diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-19 14:20:58 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-19 14:20:58 +0300 |
commit | b8c07107fa332651cf2281fe8d2f90dfc122b588 (patch) | |
tree | dd808df7c2a5da71941eaac482888bf393aea1ee | |
parent | e13392db125b386d10ec010adf1291b6ab7cd804 (diff) |
Cleanup
-rw-r--r-- | src/ui/widget.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c index 64f586ce..d31f7577 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c | |||
@@ -323,7 +323,6 @@ static iBool setWidth_Widget_(iWidget *d, int width) { | |||
323 | d->rect.size.x = width; | 323 | d->rect.size.x = width; |
324 | TRACE(d, "width has changed to %d", width); | 324 | TRACE(d, "width has changed to %d", width); |
325 | if (class_Widget(d)->sizeChanged) { | 325 | if (class_Widget(d)->sizeChanged) { |
326 | const int oldHeight = d->rect.size.y; | ||
327 | class_Widget(d)->sizeChanged(d); | 326 | class_Widget(d)->sizeChanged(d); |
328 | } | 327 | } |
329 | return iTrue; | 328 | return iTrue; |