From 7b4d50f2085322ec19b2c5fe257f1d0290339e0d Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 1 Aug 2021 21:17:30 +0300 Subject: Cleanup --- src/ui/uploadwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/uploadwidget.c') diff --git a/src/ui/uploadwidget.c b/src/ui/uploadwidget.c index 7f2a68bf..7bfa73bd 100644 --- a/src/ui/uploadwidget.c +++ b/src/ui/uploadwidget.c @@ -68,8 +68,8 @@ static void updateInputMaxHeight_UploadWidget_(iUploadWidget *d) { /* Calculate how many lines fits vertically in the view. */ const iInt2 inputPos = topLeft_Rect(bounds_Widget(as_Widget(d->input))); const int footerHeight = height_Widget(d->token) + - height_Widget(findChild_Widget(w, "dialogbuttons")) + - 6 * gap_UI; + height_Widget(findChild_Widget(w, "dialogbuttons")) + + 6 * gap_UI; const int avail = bottom_Rect(safeRect_Root(w->root)) - footerHeight; setLineLimits_InputWidget(d->input, minLines_InputWidget(d->input), -- cgit v1.2.3