diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-08-26 23:11:25 +0200 |
---|---|---|
committer | dundargoc <gocdundar@gmail.com> | 2022-09-11 13:28:59 +0200 |
commit | 3ff46544c9872b4161fd098569c30b55fe3abd36 (patch) | |
tree | 589b9ebdd86fde7e200b6235596ce6feac976122 /src/nvim/api/ui.c | |
parent | 4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9 (diff) | |
download | rneovim-3ff46544c9872b4161fd098569c30b55fe3abd36.tar.gz rneovim-3ff46544c9872b4161fd098569c30b55fe3abd36.tar.bz2 rneovim-3ff46544c9872b4161fd098569c30b55fe3abd36.zip |
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/api/ui.c')
-rw-r--r-- | src/nvim/api/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/ui.c b/src/nvim/api/ui.c index 27fb4b8e16..45c20d07e1 100644 --- a/src/nvim/api/ui.c +++ b/src/nvim/api/ui.c @@ -122,7 +122,7 @@ static char *mpack_array_dyn16(char **buf) static void mpack_str(char **buf, const char *str) { assert(sizeof(schar_T) - 1 < 0x20); - size_t len = STRLEN(str); + size_t len = strlen(str); mpack_w(buf, 0xa0 | len); memcpy(*buf, str, len); *buf += len; |