aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-09-14 19:21:09 +0200
committerGitHub <noreply@github.com>2018-09-14 19:21:09 +0200
commitdadcfe22cab6c4c5e838c0127303bc81638b7283 (patch)
treef934c57f9587185b59effe605dfedca91a839596 /src/nvim/ex_getln.c
parentc03e8307d2eff687034b71d59c859e5c267661c8 (diff)
parenta6d4a2fb8d319b2639b38039f56f44728f4f8bc2 (diff)
downloadrneovim-dadcfe22cab6c4c5e838c0127303bc81638b7283.tar.gz
rneovim-dadcfe22cab6c4c5e838c0127303bc81638b7283.tar.bz2
rneovim-dadcfe22cab6c4c5e838c0127303bc81638b7283.zip
Merge #8998 from janlazo/vim-8.0.1275
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index c2559e051d..0bb704489b 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -623,7 +623,7 @@ static int command_line_execute(VimState *state, int key)
}
s->wim_index = 0;
if (p_wmnu && wild_menu_showing != 0) {
- int skt = KeyTyped;
+ const bool skt = KeyTyped;
int old_RedrawingDisabled = RedrawingDisabled;
if (ccline.input_fn) {
@@ -6108,7 +6108,7 @@ static int open_cmdwin(void)
RedrawingDisabled = i;
restore_batch_count(save_count);
- int save_KeyTyped = KeyTyped;
+ const bool save_KeyTyped = KeyTyped;
/* Trigger CmdwinLeave autocommands. */
apply_autocmds(EVENT_CMDWINLEAVE, typestr, typestr, FALSE, curbuf);