aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/move.c
diff options
context:
space:
mode:
authorNicolas Cornu <nicolac76@yahoo.fr>2015-09-08 02:34:43 +0200
committerNicolas Cornu <nicolac76@yahoo.fr>2015-09-08 02:34:43 +0200
commit63a39015f5510e1b0be094ae9298f31bf339cc0f (patch)
treea93458d4c421ccca43ced48d9abb23311e1fb9d7 /src/nvim/move.c
parent41778e2e10e43d6ba96b27e63fb392a8d6d64b01 (diff)
downloadrneovim-63a39015f5510e1b0be094ae9298f31bf339cc0f.tar.gz
rneovim-63a39015f5510e1b0be094ae9298f31bf339cc0f.tar.bz2
rneovim-63a39015f5510e1b0be094ae9298f31bf339cc0f.zip
hasFoldingWin now return bool
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r--src/nvim/move.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c
index 7e0d1ed775..6a00f66c52 100644
--- a/src/nvim/move.c
+++ b/src/nvim/move.c
@@ -596,12 +596,12 @@ static void curs_rows(win_T *wp)
else
wp->w_cline_height = plines_win(wp, wp->w_cursor.lnum, TRUE);
wp->w_cline_folded = hasFoldingWin(wp, wp->w_cursor.lnum,
- NULL, NULL, TRUE, NULL) == TRUE;
+ NULL, NULL, TRUE, NULL);
} else if (i > wp->w_lines_valid) {
/* a line that is too long to fit on the last screen line */
wp->w_cline_height = 0;
wp->w_cline_folded = hasFoldingWin(wp, wp->w_cursor.lnum,
- NULL, NULL, TRUE, NULL) == TRUE;
+ NULL, NULL, TRUE, NULL);
} else {
wp->w_cline_height = wp->w_lines[i].wl_size;
wp->w_cline_folded = wp->w_lines[i].wl_folded == TRUE;