aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.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/window.c
parent41778e2e10e43d6ba96b27e63fb392a8d6d64b01 (diff)
downloadrneovim-63a39015f5510e1b0be094ae9298f31bf339cc0f.tar.gz
rneovim-63a39015f5510e1b0be094ae9298f31bf339cc0f.tar.bz2
rneovim-63a39015f5510e1b0be094ae9298f31bf339cc0f.zip
hasFoldingWin now return bool
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 161f653536..992463a8fc 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -4673,7 +4673,7 @@ void win_new_height(win_T *wp, int height)
set_topline(wp, lnum);
} else if (sline > 0) {
while (sline > 0 && lnum > 1) {
- hasFoldingWin(wp, lnum, &lnum, NULL, TRUE, NULL);
+ (void)hasFoldingWin(wp, lnum, &lnum, NULL, true, NULL);
if (lnum == 1) {
/* first line in buffer is folded */
line_size = 1;
@@ -4694,7 +4694,7 @@ void win_new_height(win_T *wp, int height)
* Line we want at top would go off top of screen. Use next
* line instead.
*/
- hasFoldingWin(wp, lnum, NULL, &lnum, TRUE, NULL);
+ (void)hasFoldingWin(wp, lnum, NULL, &lnum, true, NULL);
lnum++;
wp->w_wrow -= line_size + sline;
} else if (sline > 0) {