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/tag.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/tag.c')
-rw-r--r-- | src/nvim/tag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/tag.c b/src/nvim/tag.c index 54090afd71..7185b548c0 100644 --- a/src/nvim/tag.c +++ b/src/nvim/tag.c @@ -267,7 +267,7 @@ do_tag ( } if (type == DT_POP) { /* go to older position */ - int old_KeyTyped = KeyTyped; + const bool old_KeyTyped = KeyTyped; if ((tagstackidx -= count) < 0) { EMSG(_(bottommsg)); if (tagstackidx + count == 0) { @@ -2333,7 +2333,7 @@ static int jumpto_tag( int save_no_hlsearch; win_T *curwin_save = NULL; char_u *full_fname = NULL; - int old_KeyTyped = KeyTyped; /* getting the file may reset it */ + const bool old_KeyTyped = KeyTyped; // getting the file may reset it const int l_g_do_tagpreview = g_do_tagpreview; const size_t len = matching_line_len(lbuf_arg) + 1; char_u *lbuf = xmalloc(len); |