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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index cd45691a0c..6dfca06279 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -1338,7 +1338,7 @@ static void closescript(void)
file_free(scriptin[curscript], false);
scriptin[curscript] = NULL;
if (curscript > 0) {
- --curscript;
+ curscript--;
}
}
@@ -2396,7 +2396,7 @@ static int vgetorpeek(bool advance)
return NUL;
}
- ++vgetc_busy;
+ vgetc_busy++;
if (advance) {
KeyStuffed = FALSE;
@@ -2783,7 +2783,7 @@ static int vgetorpeek(bool advance)
gotchars(nop_buf, 3);
}
- --vgetc_busy;
+ vgetc_busy--;
return c;
}