aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2016-04-18 21:56:40 +0200
committerJustin M. Keyes <justinkz@gmail.com>2016-04-25 06:34:28 -0400
commitcf434d2ae4834e0e7149e8c0e3c3739cbdf2fe1f (patch)
tree8de8cc0acd9cee95e866931712bbe53bb8b1b18b /src/nvim/getchar.c
parent3d73956b9662ef0910e679f9270df5900db8047c (diff)
downloadrneovim-cf434d2ae4834e0e7149e8c0e3c3739cbdf2fe1f.tar.gz
rneovim-cf434d2ae4834e0e7149e8c0e3c3739cbdf2fe1f.tar.bz2
rneovim-cf434d2ae4834e0e7149e8c0e3c3739cbdf2fe1f.zip
Satisfy the linter.
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;