aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-03-14 12:47:49 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-04-26 19:17:17 -0400
commit5b3ec39df379ae01d6046689ffd9fb265196d21a (patch)
tree7bb8846d4f426e1096f4f459915555586ad71b1c /src/nvim/getchar.c
parent86d0f67c292ed51a981b643cf80a851f92c2b4da (diff)
downloadrneovim-5b3ec39df379ae01d6046689ffd9fb265196d21a.tar.gz
rneovim-5b3ec39df379ae01d6046689ffd9fb265196d21a.tar.bz2
rneovim-5b3ec39df379ae01d6046689ffd9fb265196d21a.zip
vim-patch:8.0.1139: using window toolbar changes state
Problem: Using window toolbar changes state. Solution: Always execute window toolbar actions in Normal mode. https://github.com/vim/vim/commit/a21a6a9ade7bec3a07992d4d900d4ce82eeb8a29
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 0debd39555..5ab5a7db1b 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -1216,7 +1216,7 @@ void save_typeahead(tasave_T *tp)
{
tp->save_typebuf = typebuf;
alloc_typebuf();
- tp->typebuf_valid = TRUE;
+ tp->typebuf_valid = true;
tp->old_char = old_char;
tp->old_mod_mask = old_mod_mask;
old_char = -1;