diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-08-26 23:11:25 +0200 |
---|---|---|
committer | dundargoc <gocdundar@gmail.com> | 2022-09-09 21:02:42 +0200 |
commit | c5322e752e9e568de907f7a1ef733bbfe342140c (patch) | |
tree | 2814462ea918c649852cc0c6f942a09f77998aad /src/nvim/api/ui.c | |
parent | 9b0e1256e25d387bf65cb9baa1edd99fbc128724 (diff) | |
download | rneovim-c5322e752e9e568de907f7a1ef733bbfe342140c.tar.gz rneovim-c5322e752e9e568de907f7a1ef733bbfe342140c.tar.bz2 rneovim-c5322e752e9e568de907f7a1ef733bbfe342140c.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 1534e547b0..27fb4b8e16 100644 --- a/src/nvim/api/ui.c +++ b/src/nvim/api/ui.c @@ -845,7 +845,7 @@ static void remote_ui_raw_line(UI *ui, Integer grid, Integer row, Integer startc for (size_t i = 0; i < ncells; i++) { repeat++; if (i == ncells - 1 || attrs[i] != attrs[i + 1] - || STRCMP(chunk[i], chunk[i + 1])) { + || strcmp(chunk[i], chunk[i + 1])) { if (UI_BUF_SIZE - BUF_POS(data) < 2 * (1 + 2 + sizeof(schar_T) + 5 + 5)) { // close to overflowing the redraw buffer. finish this event, // flush, and start a new "grid_line" event at the current position. |