aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-05 19:26:55 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-06 11:49:59 -0400
commit4df0ea98dc4597d91168d239ca366d1d575e95e6 (patch)
tree61f72d8987fe86cab876b61911849fbd537de5a0 /src/nvim/getchar.c
parent4ca2cf4b478733687d09f24965c03fb42020715b (diff)
downloadrneovim-4df0ea98dc4597d91168d239ca366d1d575e95e6.tar.gz
rneovim-4df0ea98dc4597d91168d239ca366d1d575e95e6.tar.bz2
rneovim-4df0ea98dc4597d91168d239ca366d1d575e95e6.zip
globals: typebuf_was_filled is bool
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 158328a7d2..8fb9cbf14a 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -1080,9 +1080,10 @@ void del_typebuf(int len, int offset)
/* Reset the flag that text received from a client or from feedkeys()
* was inserted in the typeahead buffer. */
- typebuf_was_filled = FALSE;
- if (++typebuf.tb_change_cnt == 0)
+ typebuf_was_filled = false;
+ if (++typebuf.tb_change_cnt == 0) {
typebuf.tb_change_cnt = 1;
+ }
}
/*