aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-14 01:01:00 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-14 01:01:00 -0400
commitdb90c0c9bf917c6b04a332b4ca500c410b5014ce (patch)
tree567d37d822931b56318fded8cc4bd7d8b935d76e /src/nvim/quickfix.c
parent20354dbd750dc0ad9911db19f02655ec63dd29b9 (diff)
downloadrneovim-db90c0c9bf917c6b04a332b4ca500c410b5014ce.tar.gz
rneovim-db90c0c9bf917c6b04a332b4ca500c410b5014ce.tar.bz2
rneovim-db90c0c9bf917c6b04a332b4ca500c410b5014ce.zip
globals: KeyTyped is bool
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r--src/nvim/quickfix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index 7c555da1a0..89e0f40f4e 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -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) {