diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-09-09 21:49:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-09 21:49:41 +0200 |
commit | 2f385d17a027d132bf2308dd5b1b0c8ce862e761 (patch) | |
tree | 2814462ea918c649852cc0c6f942a09f77998aad /src/nvim/edit.c | |
parent | 9b0e1256e25d387bf65cb9baa1edd99fbc128724 (diff) | |
parent | c5322e752e9e568de907f7a1ef733bbfe342140c (diff) | |
download | rneovim-2f385d17a027d132bf2308dd5b1b0c8ce862e761.tar.gz rneovim-2f385d17a027d132bf2308dd5b1b0c8ce862e761.tar.bz2 rneovim-2f385d17a027d132bf2308dd5b1b0c8ce862e761.zip |
Merge pull request #20057 from dundargoc/refactor/char_u/9
refactor: replace char_u with char 9: remove `STRCMP`
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index f7a16abfb2..1a8030d511 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -4951,7 +4951,7 @@ static char_u *do_insert_char_pre(int c) // Get the value of v:char. It may be empty or more than one // character. Only use it when changed, otherwise continue with the // original character to avoid breaking autoindent. - if (STRCMP(buf, get_vim_var_str(VV_CHAR)) != 0) { + if (strcmp(buf, get_vim_var_str(VV_CHAR)) != 0) { res = xstrdup(get_vim_var_str(VV_CHAR)); } } |