diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-08-01 21:17:30 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-08-01 21:17:30 +0300 |
commit | 7b4d50f2085322ec19b2c5fe257f1d0290339e0d (patch) | |
tree | c6aadbfa62102c03ba4eead8346410a1ab855704 /src/ui/uploadwidget.c | |
parent | 5546f519cccc59afdd492800162f8a92aa8bd049 (diff) |
Cleanup
Diffstat (limited to 'src/ui/uploadwidget.c')
-rw-r--r-- | src/ui/uploadwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { | |||
68 | /* Calculate how many lines fits vertically in the view. */ | 68 | /* Calculate how many lines fits vertically in the view. */ |
69 | const iInt2 inputPos = topLeft_Rect(bounds_Widget(as_Widget(d->input))); | 69 | const iInt2 inputPos = topLeft_Rect(bounds_Widget(as_Widget(d->input))); |
70 | const int footerHeight = height_Widget(d->token) + | 70 | const int footerHeight = height_Widget(d->token) + |
71 | height_Widget(findChild_Widget(w, "dialogbuttons")) + | 71 | height_Widget(findChild_Widget(w, "dialogbuttons")) + |
72 | 6 * gap_UI; | 72 | 6 * gap_UI; |
73 | const int avail = bottom_Rect(safeRect_Root(w->root)) - footerHeight; | 73 | const int avail = bottom_Rect(safeRect_Root(w->root)) - footerHeight; |
74 | setLineLimits_InputWidget(d->input, | 74 | setLineLimits_InputWidget(d->input, |
75 | minLines_InputWidget(d->input), | 75 | minLines_InputWidget(d->input), |