diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2015-09-04 11:18:39 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2015-09-04 11:18:39 +0200 |
commit | c51864b826cadfb4c52d597c4ae5897c3ec1341c (patch) | |
tree | 13b97ced18059a26932aeb96aff5734201c26a49 /src/nvim/buffer.c | |
parent | ea33a75d0738526dd1ecfdeb387aeccb15fb7832 (diff) | |
parent | 11b8c76e4168080b3e2d86fd53c0e1437f834ad5 (diff) | |
download | rneovim-c51864b826cadfb4c52d597c4ae5897c3ec1341c.tar.gz rneovim-c51864b826cadfb4c52d597c4ae5897c3ec1341c.tar.bz2 rneovim-c51864b826cadfb4c52d597c4ae5897c3ec1341c.zip |
Merge "Remove instances of TRUE/FALSE" #3272
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 2f87c9cbd2..b212e75283 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -3625,7 +3625,7 @@ do_arg_all ( int opened_len; /* length of opened[] */ int use_firstwin = FALSE; /* use first window for arglist */ int split_ret = OK; - int p_ea_save; + bool p_ea_save; alist_T *alist; /* argument list to be used */ buf_T *buf; tabpage_T *tpnext; @@ -3792,7 +3792,7 @@ do_arg_all ( } else if (split_ret == OK) { if (!use_firstwin) { /* split current window */ p_ea_save = p_ea; - p_ea = TRUE; /* use space from all windows */ + p_ea = true; /* use space from all windows */ split_ret = win_split(0, WSP_ROOM | WSP_BELOW); p_ea = p_ea_save; if (split_ret == FAIL) @@ -3853,7 +3853,7 @@ void ex_buffer_all(exarg_T *eap) buf_T *buf; win_T *wp, *wpnext; int split_ret = OK; - int p_ea_save; + bool p_ea_save; int open_wins = 0; int r; int count; /* Maximum number of windows to open. */ @@ -3940,7 +3940,7 @@ void ex_buffer_all(exarg_T *eap) if (wp == NULL && split_ret == OK) { /* Split the window and put the buffer in it */ p_ea_save = p_ea; - p_ea = TRUE; /* use space from all windows */ + p_ea = true; /* use space from all windows */ split_ret = win_split(0, WSP_ROOM | WSP_BELOW); ++open_wins; p_ea = p_ea_save; |