mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
Convert some values from buffer_defs.h to bools
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user