aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/search.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/search.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/search.c')
-rw-r--r--src/nvim/search.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c
index ee81f6c851..55d7c50a0b 100644
--- a/src/nvim/search.c
+++ b/src/nvim/search.c
@@ -2049,9 +2049,9 @@ showmatch (
* available.
*/
if (vim_strchr(p_cpo, CPO_SHOWMATCH) != NULL)
- ui_delay(p_mat * 100L, TRUE);
+ ui_delay(p_mat * 100L, true);
else if (!char_avail())
- ui_delay(p_mat * 100L, FALSE);
+ ui_delay(p_mat * 100L, false);
curwin->w_cursor = save_cursor; /* restore cursor position */
p_so = save_so;
p_siso = save_siso;
@@ -2183,7 +2183,7 @@ found:
*/
int
findpar (
- int *pincl, /* Return: TRUE if last char is to be included */
+ int *pincl, /* Return: TRUE if last char is to be included */
int dir,
long count,
int what,
@@ -4389,7 +4389,7 @@ search_line:
/* ":psearch" uses the preview window */
if (g_do_tagpreview != 0) {
curwin_save = curwin;
- prepare_tagpreview(TRUE);
+ prepare_tagpreview(true);
}
if (action == ACTION_SPLIT) {
if (win_split(0, 0) == FAIL)
@@ -4424,7 +4424,7 @@ search_line:
/* Return cursor to where we were */
validate_cursor();
redraw_later(VALID);
- win_enter(curwin_save, TRUE);
+ win_enter(curwin_save, true);
}
break;
}