aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorNicolas Cornu <nicolac76@yahoo.fr>2015-09-07 15:03:47 +0200
committerNicolas Cornu <nicolac76@yahoo.fr>2015-09-07 15:03:47 +0200
commit41778e2e10e43d6ba96b27e63fb392a8d6d64b01 (patch)
treeef90d072ca5c0bc6c912412d2aa9ba3ca393e7ab /src/nvim/misc1.c
parentf39ac698241885137e77efa4edeee7be21dd8deb (diff)
downloadrneovim-41778e2e10e43d6ba96b27e63fb392a8d6d64b01.tar.gz
rneovim-41778e2e10e43d6ba96b27e63fb392a8d6d64b01.tar.bz2
rneovim-41778e2e10e43d6ba96b27e63fb392a8d6d64b01.zip
win_T.w_cline_folded from int to bool
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 6358651171..fd922375e3 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -2122,10 +2122,10 @@ static void changed_common(linenr_T lnum, colnr_T col, linenr_T lnume, long xtra
* inserting lines just above a closed fold. */
i = hasFoldingWin(wp, lnum, &lnum, NULL, FALSE, NULL);
if (wp->w_cursor.lnum == lnum)
- wp->w_cline_folded = i;
+ wp->w_cline_folded = (i == TRUE);
i = hasFoldingWin(wp, lnume, NULL, &lnume, FALSE, NULL);
if (wp->w_cursor.lnum == lnume)
- wp->w_cline_folded = i;
+ wp->w_cline_folded = (i == TRUE);
/* If the changed line is in a range of previously folded lines,
* compare with the first line in that range. */