mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 19:18:34 +00:00
vim-patch:8.1.0450: build failure without the +fold feature
Problem: Build failure without the +fold feature.
Solution: Add #ifdef.
0e9deefb4f
This commit is contained in:

committed by
Justin M. Keyes

parent
bed95b37b2
commit
56dec2a3a0
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user