aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/diff.c
diff options
context:
space:
mode:
authorWayne Rowcliffe <war1025@gmail.com>2014-10-25 11:23:08 -0500
committerWayne Rowcliffe <war1025@gmail.com>2014-11-12 00:38:34 -0600
commit63e255887099b3728c60f2cdd0c86245eabbb839 (patch)
treed3e44e746d7bbea8821d3e8eae4fce146a9032a6 /src/nvim/diff.c
parent8da78bc3ae694aa2a6edaac97756211374491471 (diff)
downloadrneovim-63e255887099b3728c60f2cdd0c86245eabbb839.tar.gz
rneovim-63e255887099b3728c60f2cdd0c86245eabbb839.tar.bz2
rneovim-63e255887099b3728c60f2cdd0c86245eabbb839.zip
Convert some values from buffer_defs.h to bools
Diffstat (limited to 'src/nvim/diff.c')
-rw-r--r--src/nvim/diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/diff.c b/src/nvim/diff.c
index 39db77bd82..18e30f8587 100644
--- a/src/nvim/diff.c
+++ b/src/nvim/diff.c
@@ -1745,11 +1745,11 @@ void diff_set_topline(win_T *fromwin, win_T *towin)
}
// safety check (if diff info gets outdated strange things may happen)
- towin->w_botfill = FALSE;
+ towin->w_botfill = false;
if (towin->w_topline > towin->w_buffer->b_ml.ml_line_count) {
towin->w_topline = towin->w_buffer->b_ml.ml_line_count;
- towin->w_botfill = TRUE;
+ towin->w_botfill = true;
}
if (towin->w_topline < 1) {