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/normal.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/normal.c')
-rw-r--r-- | src/nvim/normal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 217bf4f876..484a5e41cc 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -6294,7 +6294,7 @@ static void nv_gomark(cmdarg_T *cap) pos_T *pos; int c; pos_T old_cursor = curwin->w_cursor; - int old_KeyTyped = KeyTyped; /* getting file may reset it */ + const bool old_KeyTyped = KeyTyped; // getting file may reset it if (cap->cmdchar == 'g') c = cap->extra_char; @@ -6331,7 +6331,7 @@ static void nv_pcmark(cmdarg_T *cap) { pos_T *pos; linenr_T lnum = curwin->w_cursor.lnum; - int old_KeyTyped = KeyTyped; /* getting file may reset it */ + const bool old_KeyTyped = KeyTyped; // getting file may reset it if (!checkclearopq(cap->oap)) { if (cap->cmdchar == 'g') |