globals: KeyTyped is bool

This commit is contained in:
Jan Edmund Lazo
2018-09-14 01:01:00 -04:00
parent 20354dbd75
commit db90c0c9bf
10 changed files with 15 additions and 16 deletions

View File

@@ -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);