aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-18 13:39:22 -0400
committerGitHub <noreply@github.com>2020-10-18 13:39:22 -0400
commiteaee3d9297d114c81b05dd4ed104373eeb87bc11 (patch)
tree8ae0373b3176bb2535c2da4daabc118c0520b1b9 /src/nvim/getchar.c
parent9817d991403ea3646b9a01234d12c7661ff8c62b (diff)
parentce99d049e787e96eaf6268907262240321dae881 (diff)
downloadrneovim-eaee3d9297d114c81b05dd4ed104373eeb87bc11.tar.gz
rneovim-eaee3d9297d114c81b05dd4ed104373eeb87bc11.tar.bz2
rneovim-eaee3d9297d114c81b05dd4ed104373eeb87bc11.zip
Merge pull request #13111 from janlazo/vim-8.2.0862
vim-patch:8.2.{862,943,1547}
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index cbd9582f8b..456979be00 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -4204,7 +4204,6 @@ int put_escstr(FILE *fd, char_u *strstart, int what)
{
char_u *str = strstart;
int c;
- int modifiers;
// :map xx <Nop>
if (*str == NUL && what == 1) {
@@ -4231,7 +4230,7 @@ int put_escstr(FILE *fd, char_u *strstart, int what)
* when they are read back.
*/
if (c == K_SPECIAL && what != 2) {
- modifiers = 0x0;
+ int modifiers = 0;
if (str[1] == KS_MODIFIER) {
modifiers = str[2];
str += 3;