aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorSteven Oliver <oliver.steven@gmail.com>2015-08-30 16:27:47 -0400
committerBjörn Linse <bjorn.linse@gmail.com>2015-09-04 11:07:33 +0200
commitf7c5dc4db266bfc1db3ea76d114d9a04413fe875 (patch)
treeec6fdb7594d41c89d3b71f9ebd82ced7652b2e0d /src/nvim/buffer.c
parentea33a75d0738526dd1ecfdeb387aeccb15fb7832 (diff)
downloadrneovim-f7c5dc4db266bfc1db3ea76d114d9a04413fe875.tar.gz
rneovim-f7c5dc4db266bfc1db3ea76d114d9a04413fe875.tar.bz2
rneovim-f7c5dc4db266bfc1db3ea76d114d9a04413fe875.zip
Remove instances of TRUE/FALSE macro
memory.c os_unix.c path.c
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c8
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;