patch 8.1.2154: quickfix window height wrong when there is a tabline
Problem: Quickfix window height wrong when there is a tabline. (Daniel
Hahler)
Solution: Take the tabline height into account. (closes #5058)
diff --git a/src/quickfix.c b/src/quickfix.c
index 136c472..36456ed 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -4046,8 +4046,8 @@
if (sz != win->w_width)
win_setwidth(sz);
}
- else if (sz != win->w_height
- && win->w_height + win->w_status_height < cmdline_row)
+ else if (sz != win->w_height && win->w_height
+ + win->w_status_height + tabline_height() < cmdline_row)
win_setheight(sz);
}