diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-14 01:01:00 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-14 01:01:00 -0400 |
commit | db90c0c9bf917c6b04a332b4ca500c410b5014ce (patch) | |
tree | 567d37d822931b56318fded8cc4bd7d8b935d76e /src/nvim/ex_getln.c | |
parent | 20354dbd750dc0ad9911db19f02655ec63dd29b9 (diff) | |
download | rneovim-db90c0c9bf917c6b04a332b4ca500c410b5014ce.tar.gz rneovim-db90c0c9bf917c6b04a332b4ca500c410b5014ce.tar.bz2 rneovim-db90c0c9bf917c6b04a332b4ca500c410b5014ce.zip |
globals: KeyTyped is bool
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 4 |
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); |