diff options
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r-- | src/nvim/move.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c index 2debd90337..134ffcd7dc 100644 --- a/src/nvim/move.c +++ b/src/nvim/move.c @@ -1990,7 +1990,7 @@ void halfpage(bool flag, linenr_T Prenum) if (curwin->w_topfill > 0) { i = 1; n--; - --curwin->w_topfill; + curwin->w_topfill--; } else { i = plines_nofill(curwin->w_topline); n -= i; @@ -2067,7 +2067,7 @@ void halfpage(bool flag, linenr_T Prenum) if (curwin->w_topfill < diff_check_fill(curwin, curwin->w_topline)) { i = 1; n--; - ++curwin->w_topfill; + curwin->w_topfill++; } else { i = plines_nofill(curwin->w_topline - 1); n -= i; |