mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
vim-patch:8.0.0069
Problem: Compiler warning for self-comparison.
Solution: Define ONE_WINDOW and add vim/vim#ifdef.
a1f4cb93ba
This commit is contained in:
@@ -2806,7 +2806,7 @@ void ex_z(exarg_T *eap)
|
||||
* 'scroll' */
|
||||
if (eap->forceit)
|
||||
bigness = curwin->w_height;
|
||||
else if (firstwin == lastwin)
|
||||
else if (ONE_WINDOW)
|
||||
bigness = curwin->w_p_scr * 2;
|
||||
else
|
||||
bigness = curwin->w_height - 3;
|
||||
|
Reference in New Issue
Block a user