diff options
author | Dundar Goc <gocdundar@gmail.com> | 2022-05-05 13:36:14 +0200 |
---|---|---|
committer | Dundar Goc <gocdundar@gmail.com> | 2022-05-09 10:03:29 +0200 |
commit | e31b32a293f6ba8708499a176234f8be1df6a145 (patch) | |
tree | 87e129c92affece6421d4585b5d5c20996891ec5 /src/nvim/terminal.c | |
parent | dbdd58e548fcf55848359b696275fd848756db7b (diff) | |
download | rneovim-e31b32a293f6ba8708499a176234f8be1df6a145.tar.gz rneovim-e31b32a293f6ba8708499a176234f8be1df6a145.tar.bz2 rneovim-e31b32a293f6ba8708499a176234f8be1df6a145.zip |
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/terminal.c')
-rw-r--r-- | src/nvim/terminal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c index 1f763c3e1e..142da8f184 100644 --- a/src/nvim/terminal.c +++ b/src/nvim/terminal.c @@ -1377,8 +1377,7 @@ static void fetch_row(Terminal *term, int row, int end_col) int cell_len = 0; if (cell.chars[0]) { for (int i = 0; cell.chars[i]; i++) { - cell_len += utf_char2bytes((int)cell.chars[i], - (uint8_t *)ptr + cell_len); + cell_len += utf_char2bytes((int)cell.chars[i], ptr + cell_len); } } else { *ptr = ' '; |