diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-08-26 10:36:35 +0200 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2022-08-26 22:24:28 +0200 |
commit | 395277036014189c03b8969fc0a5cd2bdc5c8631 (patch) | |
tree | 27caaef2e0b8351eb5637d1a969229663ec2c4a8 /src/nvim/mbyte.c | |
parent | 6a13b8fa5460da5aa22a1c366e5252c26ed5fe1e (diff) | |
download | rneovim-395277036014189c03b8969fc0a5cd2bdc5c8631.tar.gz rneovim-395277036014189c03b8969fc0a5cd2bdc5c8631.tar.bz2 rneovim-395277036014189c03b8969fc0a5cd2bdc5c8631.zip |
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r-- | src/nvim/mbyte.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c index ad8718742f..9213457608 100644 --- a/src/nvim/mbyte.c +++ b/src/nvim/mbyte.c @@ -1936,7 +1936,7 @@ void utf_find_illegal(void) // 'encoding' is "utf-8" but we are editing a 8-bit encoded file, // possibly a utf-8 file with illegal bytes. Setup for conversion // from utf-8 to 'fileencoding'. - convert_setup(&vimconv, p_enc, (char_u *)curbuf->b_p_fenc); + convert_setup(&vimconv, (char_u *)p_enc, (char_u *)curbuf->b_p_fenc); } curwin->w_cursor.coladd = 0; |