mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
refactor: replace char_u #18429
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -3287,7 +3287,7 @@ static bool nv_screengo(oparg_T *oap, int dir, long dist)
|
||||
validate_virtcol();
|
||||
colnr_T virtcol = curwin->w_virtcol;
|
||||
if (virtcol > (colnr_T)width1 && *get_showbreak_value(curwin) != NUL) {
|
||||
virtcol -= vim_strsize(get_showbreak_value(curwin));
|
||||
virtcol -= vim_strsize((char *)get_showbreak_value(curwin));
|
||||
}
|
||||
|
||||
int c = utf_ptr2char((char *)get_cursor_pos_ptr());
|
||||
|
Reference in New Issue
Block a user