aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/popupmnu.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/popupmnu.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/popupmnu.c')
-rw-r--r--src/nvim/popupmnu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/popupmnu.c b/src/nvim/popupmnu.c
index b0ed3047ae..4ff1132ab9 100644
--- a/src/nvim/popupmnu.c
+++ b/src/nvim/popupmnu.c
@@ -536,7 +536,7 @@ static int pum_set_selected(int n, int repeat)
if ((p_pvh > 0) && (p_pvh < g_do_tagpreview)) {
g_do_tagpreview = p_pvh;
}
- resized = prepare_tagpreview(FALSE);
+ resized = prepare_tagpreview(false);
g_do_tagpreview = 0;
if (curwin->w_p_pvw) {
@@ -612,7 +612,7 @@ static int pum_set_selected(int n, int repeat)
// the window when needed, otherwise it will always be
// redraw.
if (resized) {
- win_enter(curwin_save, TRUE);
+ win_enter(curwin_save, true);
update_topline();
}
@@ -623,7 +623,7 @@ static int pum_set_selected(int n, int repeat)
pum_do_redraw = FALSE;
if (!resized && win_valid(curwin_save)) {
- win_enter(curwin_save, TRUE);
+ win_enter(curwin_save, true);
}
// May need to update the screen again when there are