mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 03:16:31 +00:00
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -801,9 +801,9 @@ void curs_columns(win_T *wp, int may_scroll)
|
||||
// When cursor wraps to first char of next line in Insert
|
||||
// mode, the 'showbreak' string isn't shown, backup to first
|
||||
// column
|
||||
char_u *const sbr = get_showbreak_value(wp);
|
||||
char *const sbr = (char *)get_showbreak_value(wp);
|
||||
if (*sbr && *get_cursor_pos_ptr() == NUL
|
||||
&& wp->w_wcol == vim_strsize(sbr)) {
|
||||
&& wp->w_wcol == vim_strsize((char_u *)sbr)) {
|
||||
wp->w_wcol = 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user