diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-26 23:07:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 23:07:56 +0200 |
commit | b0e052a8b30ce84221c3f992e111713451633b36 (patch) | |
tree | 27caaef2e0b8351eb5637d1a969229663ec2c4a8 /src/nvim/spell.c | |
parent | 6a13b8fa5460da5aa22a1c366e5252c26ed5fe1e (diff) | |
parent | 395277036014189c03b8969fc0a5cd2bdc5c8631 (diff) | |
download | rneovim-b0e052a8b30ce84221c3f992e111713451633b36.tar.gz rneovim-b0e052a8b30ce84221c3f992e111713451633b36.tar.bz2 rneovim-b0e052a8b30ce84221c3f992e111713451633b36.zip |
Merge pull request #19957 from dundargoc/refactor/char_u/1
refactor: replace char_u with char
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r-- | src/nvim/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 439fcff8a0..8fcb379bcf 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -1518,7 +1518,7 @@ static void spell_load_lang(char_u *lang) char_u *spell_enc(void) { if (STRLEN(p_enc) < 60 && STRCMP(p_enc, "iso-8859-15") != 0) { - return p_enc; + return (char_u *)p_enc; } return (char_u *)"latin1"; } |