aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 74e5526caa..b5e1e586bd 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -1565,9 +1565,9 @@ int char_avail(void)
// When disable_char_avail_for_testing(1) was called pretend
// there is no typeahead
if (disable_char_avail_for_testing) {
- return FALSE;
+ return false;
}
- ++no_mapping;
+ no_mapping++;
retval = vpeekc();
--no_mapping;
return retval != NUL;