aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.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/screen.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/screen.c')
-rw-r--r--src/nvim/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index e217945ac3..58faac1ae7 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -554,7 +554,7 @@ void update_screen(int type)
/* Reset b_mod_set flags. Going through all windows is probably faster
* than going through all buffers (there could be many buffers). */
FOR_ALL_WINDOWS_IN_TAB(wp, curtab) {
- wp->w_buffer->b_mod_set = FALSE;
+ wp->w_buffer->b_mod_set = false;
}
updating_screen = FALSE;
@@ -1672,7 +1672,7 @@ static void win_update(win_T *wp)
if (must_redraw != 0) {
/* Don't update for changes in buffer again. */
i = curbuf->b_mod_set;
- curbuf->b_mod_set = FALSE;
+ curbuf->b_mod_set = false;
win_update(curwin);
must_redraw = 0;
curbuf->b_mod_set = i;