aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/diff.c
diff options
context:
space:
mode:
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) {