diff options
author | Michael Vilim <697a9b924bfa6f06a81e82975ddca4785b90a7b40d91044ce76f68d3bd65a9b8@697a9b924bfa6f06a81e82975ddca4785b90a7b40d91044ce76f68d3bd65a9b8.com> | 2019-01-09 11:46:56 -0600 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-01-11 01:44:15 +0100 |
commit | 56dec2a3a04a834652c8e118871d63a9328e3af5 (patch) | |
tree | 69dd0ea861367c08ee546d34cb82dff5b3051d7f /src | |
parent | bed95b37b29889d1d0edbcb70fd0bf6814d9a574 (diff) | |
download | rneovim-56dec2a3a04a834652c8e118871d63a9328e3af5.tar.gz rneovim-56dec2a3a04a834652c8e118871d63a9328e3af5.tar.bz2 rneovim-56dec2a3a04a834652c8e118871d63a9328e3af5.zip |
vim-patch:8.1.0450: build failure without the +fold feature
Problem: Build failure without the +fold feature.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/0e9deefb4fb4f99d0ab90b21ca38260be26bf5de
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/screen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 56ca4ad4b6..513f8dac9a 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -1412,7 +1412,6 @@ static void win_update(win_T *wp) fold_count = foldedCount(wp, lnum, &win_foldinfo); if (fold_count != 0) { fold_line(wp, fold_count, &win_foldinfo, lnum, row); - --fold_count; } else { (void)win_line(wp, lnum, srow, wp->w_grid.Rows, true, true); } |