diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-03-13 10:38:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-13 10:38:21 -0500 |
commit | 9808c8d9ddea2a8e29e7b979581ba67f8871a1b1 (patch) | |
tree | 82f70a113233a5cb984e04b75d5ba4f06a851782 /src/nvim/window.c | |
parent | 5d5e018a5c1a8f0f185718dd4513b908c164a6b9 (diff) | |
parent | a1cdb6ca6a796b6ff5593f924659f5b707e23e27 (diff) | |
download | rneovim-9808c8d9ddea2a8e29e7b979581ba67f8871a1b1.tar.gz rneovim-9808c8d9ddea2a8e29e7b979581ba67f8871a1b1.tar.bz2 rneovim-9808c8d9ddea2a8e29e7b979581ba67f8871a1b1.zip |
Merge pull request #14126 from janlazo/vim-8.2.2593
vim-patch:8.2.{2593,2594,2595}
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r-- | src/nvim/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index 0f717a2f90..7558e0e3ba 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -5501,8 +5501,8 @@ void win_setminheight(void) // loop until there is a 'winminheight' that is possible while (p_wmh > 0) { - const int room = Rows - p_ch - tabline_height(); - const int needed = frame_minheight(topframe, NULL); + const int room = Rows - p_ch; + const int needed = min_rows() - 1; // 1 was added for the cmdline if (room >= needed) { break; } |