aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.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/normal.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/normal.c')
-rw-r--r--src/nvim/normal.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index 9fb096f7d2..291ae29793 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -992,8 +992,8 @@ getcount:
cursor_on();
out_flush();
if (msg_scroll || emsg_on_display)
- ui_delay(1000L, TRUE); /* wait at least one second */
- ui_delay(3000L, FALSE); /* wait up to three seconds */
+ ui_delay(1000L, true); /* wait at least one second */
+ ui_delay(3000L, false); /* wait up to three seconds */
State = save_State;
msg_scroll = FALSE;
@@ -6709,7 +6709,7 @@ static void nv_bck_word(cmdarg_T *cap)
static void nv_wordcmd(cmdarg_T *cap)
{
int n;
- int word_end;
+ bool word_end;
int flag = FALSE;
pos_T startpos = curwin->w_cursor;
@@ -6717,9 +6717,9 @@ static void nv_wordcmd(cmdarg_T *cap)
* Set inclusive for the "E" and "e" command.
*/
if (cap->cmdchar == 'e' || cap->cmdchar == 'E')
- word_end = TRUE;
+ word_end = true;
else
- word_end = FALSE;
+ word_end = false;
cap->oap->inclusive = word_end;
/*
@@ -6753,7 +6753,7 @@ static void nv_wordcmd(cmdarg_T *cap)
* flag.
*/
cap->oap->inclusive = TRUE;
- word_end = TRUE;
+ word_end = true;
flag = TRUE;
}
}