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

@@ -1759,7 +1759,7 @@ void qf_jump(qf_info_T *qi, int dir, int errornr, int forceit)
win_T *oldwin = curwin;
int print_message = TRUE;
int len;
int old_KeyTyped = KeyTyped; /* getting file may reset it */
const bool old_KeyTyped = KeyTyped; // getting file may reset it
int ok = OK;
bool usable_win;
@@ -2932,7 +2932,7 @@ static void qf_fill_buffer(qf_info_T *qi, buf_T *buf, qfline_T *old_last)
qfline_T *qfp;
buf_T *errbuf;
int len;
int old_KeyTyped = KeyTyped;
const bool old_KeyTyped = KeyTyped;
if (old_last == NULL) {
if (buf != curbuf) {