mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
b2ed439bd5
commit
9aaff18489
@ -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.
|
||||
* Scroll at least "min_scroll" lines.
|
||||
* If "set_topbot" is true, set topline and botline first (for "zb").
|
||||
* This is messy stuff!!!
|
||||
*/
|
||||
/// Recompute topline to put the cursor at the bottom of the window.
|
||||
/// When scrolling scroll at least "min_scroll" lines.
|
||||
/// If "set_topbot" is true, set topline and botline first (for "zb").
|
||||
/// This is messy stuff!!!
|
||||
void scroll_cursor_bot(int min_scroll, int set_topbot)
|
||||
{
|
||||
int used;
|
||||
|
Loading…
Reference in New Issue
Block a user