diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-31 20:50:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 20:50:43 +0200 |
commit | f078a3453ae479e4d6f88f874e8d282d63c798a3 (patch) | |
tree | 60997bc19af85f1292cb0ca7e66e797737006dee /src/nvim/cursor.c | |
parent | 933c80e8f9d7ff4ab634c14d370440702c7c8ed7 (diff) | |
parent | fb1edb2f5728d74ae811c6ab32395598cea5609b (diff) | |
download | rneovim-f078a3453ae479e4d6f88f874e8d282d63c798a3.tar.gz rneovim-f078a3453ae479e4d6f88f874e8d282d63c798a3.tar.bz2 rneovim-f078a3453ae479e4d6f88f874e8d282d63c798a3.zip |
Merge pull request #20007 from dundargoc/refactor/char_u/5
refactor: replace char_u with char 5
Diffstat (limited to 'src/nvim/cursor.c')
-rw-r--r-- | src/nvim/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/cursor.c b/src/nvim/cursor.c index ed0488cf76..54e5ffff37 100644 --- a/src/nvim/cursor.c +++ b/src/nvim/cursor.c @@ -138,7 +138,7 @@ static int coladvance2(pos_T *pos, bool addspaces, bool finetune, colnr_T wcol_a } chartabsize_T cts; - init_chartabsize_arg(&cts, curwin, pos->lnum, 0, line, line); + init_chartabsize_arg(&cts, curwin, pos->lnum, 0, (char *)line, (char *)line); while (cts.cts_vcol <= wcol && *cts.cts_ptr != NUL) { // Count a tab for what it's worth (if list mode not on) csize = win_lbr_chartabsize(&cts, &head); |