aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorKlemen Košir <klemen913@gmail.com>2014-04-30 11:06:52 +0200
committerJustin M. Keyes <justinkz@gmail.com>2014-07-08 17:25:48 +0000
commitef34a0ab132bca94bd16d8518c3333cf81cbf2c6 (patch)
tree9ae6122b7c3d941fdc237c51ef81f04e2bb737ac /src/nvim/main.c
parent3cf435af363dc3585568e1213152e31ed6b1fc08 (diff)
downloadrneovim-ef34a0ab132bca94bd16d8518c3333cf81cbf2c6.tar.gz
rneovim-ef34a0ab132bca94bd16d8518c3333cf81cbf2c6.tar.bz2
rneovim-ef34a0ab132bca94bd16d8518c3333cf81cbf2c6.zip
Replace int with bool in some files. #654
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 7b567be564..620f150f46 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -1602,7 +1602,7 @@ static void check_tty(mparm_T *parmp)
mch_errmsg(_("Vim: Warning: Input is not from a terminal\n"));
out_flush();
if (scriptin[0] == NULL)
- ui_delay(2000L, TRUE);
+ ui_delay(2000L, true);
TIME_MSG("Warning delay");
}
}
@@ -1793,7 +1793,7 @@ static void edit_buffers(mparm_T *parmp)
} else {
if (curwin->w_next == NULL) /* just checking */
break;
- win_enter(curwin->w_next, FALSE);
+ win_enter(curwin->w_next, false);
}
}
advance = TRUE;
@@ -1847,7 +1847,7 @@ static void edit_buffers(mparm_T *parmp)
break;
}
}
- win_enter(win, FALSE);
+ win_enter(win, false);
--autocmd_no_leave;
TIME_MSG("editing files in windows");