refactor: replace char_u #18429

Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
dundargoc
2022-06-28 11:31:54 +02:00
committed by GitHub
parent 7e1cf6b764
commit 014a88799a
55 changed files with 518 additions and 558 deletions

View File

@@ -802,7 +802,7 @@ void curs_columns(win_T *wp, int may_scroll)
// column
char *const sbr = (char *)get_showbreak_value(wp);
if (*sbr && *get_cursor_pos_ptr() == NUL
&& wp->w_wcol == vim_strsize((char_u *)sbr)) {
&& wp->w_wcol == vim_strsize(sbr)) {
wp->w_wcol = 0;
}
}