diff options
author | Dundar Goc <gocdundar@gmail.com> | 2022-04-30 20:28:04 +0200 |
---|---|---|
committer | Dundar Goc <gocdundar@gmail.com> | 2022-04-30 23:39:17 +0200 |
commit | af782a630633ffe0cb082bda974b24d4f577313e (patch) | |
tree | 7a65343a9d6cdd926aa46db55dd263c2d9eda793 /src/nvim/api/buffer.c | |
parent | 0344736aa698dc205f8f9f80609b7033308d39ca (diff) | |
download | rneovim-af782a630633ffe0cb082bda974b24d4f577313e.tar.gz rneovim-af782a630633ffe0cb082bda974b24d4f577313e.tar.bz2 rneovim-af782a630633ffe0cb082bda974b24d4f577313e.zip |
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/api/buffer.c')
-rw-r--r-- | src/nvim/api/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c index 9b21608ce9..b4d4265a37 100644 --- a/src/nvim/api/buffer.c +++ b/src/nvim/api/buffer.c @@ -1113,7 +1113,7 @@ void nvim_buf_set_name(Buffer buffer, String name, Error *err) // Using aucmd_*: autocommands will be executed by rename_buffer aco_save_T aco; aucmd_prepbuf(&aco, buf); - int ren_ret = rename_buffer((char_u *)name.data); + int ren_ret = rename_buffer(name.data); aucmd_restbuf(&aco); if (try_end(err)) { |