diff options
author | Nicolas Cornu <nicolac76@yahoo.fr> | 2015-09-07 15:16:35 +0200 |
---|---|---|
committer | Nicolas Cornu <nicolac76@yahoo.fr> | 2015-09-08 02:34:50 +0200 |
commit | 16e9c853dfdea32fcf187fda147cafebd3dfc5dd (patch) | |
tree | 5767383a784695dc1cbada82b12d6db6520137f0 /src/nvim/fold.c | |
parent | 63a39015f5510e1b0be094ae9298f31bf339cc0f (diff) | |
download | rneovim-16e9c853dfdea32fcf187fda147cafebd3dfc5dd.tar.gz rneovim-16e9c853dfdea32fcf187fda147cafebd3dfc5dd.tar.bz2 rneovim-16e9c853dfdea32fcf187fda147cafebd3dfc5dd.zip |
hasFolding return bool now
Diffstat (limited to 'src/nvim/fold.c')
-rw-r--r-- | src/nvim/fold.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/fold.c b/src/nvim/fold.c index 784faa35a3..b52938075c 100644 --- a/src/nvim/fold.c +++ b/src/nvim/fold.c @@ -148,9 +148,9 @@ int hasAnyFolding(win_T *win) * When returning TRUE, *firstp and *lastp are set to the first and last * lnum of the sequence of folded lines (skipped when NULL). */ -int hasFolding(linenr_T lnum, linenr_T *firstp, linenr_T *lastp) +bool hasFolding(linenr_T lnum, linenr_T *firstp, linenr_T *lastp) { - return hasFoldingWin(curwin, lnum, firstp, lastp, TRUE, NULL) ? TRUE : FALSE; + return hasFoldingWin(curwin, lnum, firstp, lastp, TRUE, NULL); } /* hasFoldingWin() {{{2 */ |