vim-patch:8.2.5138: various small issues

Problem:    Various small issues.
Solution:   Various small improvments.
8088ae95bb

N/A patches for version.c:

vim-patch:8.2.5107: some callers of rettv_list_alloc() check for not OK

Problem:    Some callers of rettv_list_alloc() check for not OK. (Christ van
            Willegen)
Solution:   Use "==" instead of "!=" when checking the return value.
93a1096fe4
This commit is contained in:
zeertzjq 2022-06-20 20:48:32 +08:00
parent b2ed439bd5
commit 9aaff18489

View File

@ -1518,12 +1518,10 @@ void set_empty_rows(win_T *wp, int used)
} }
} }
/* /// Recompute topline to put the cursor at the bottom of the window.
* Recompute topline to put the cursor at the bottom of the window. /// When scrolling scroll at least "min_scroll" lines.
* Scroll at least "min_scroll" lines. /// If "set_topbot" is true, set topline and botline first (for "zb").
* If "set_topbot" is true, set topline and botline first (for "zb"). /// This is messy stuff!!!
* This is messy stuff!!!
*/
void scroll_cursor_bot(int min_scroll, int set_topbot) void scroll_cursor_bot(int min_scroll, int set_topbot)
{ {
int used; int used;