vim-patch:8.2.3460: some type casts are not needed #15868

Problem:    Some type casts are not needed.
Solution:   Remove unnecessary type casts. (closes vim/vim#8934)
dfa5e464d4
This commit is contained in:
dundargoc
2021-10-03 03:04:21 +02:00
committed by GitHub
parent 4449297d12
commit ad1c42a97d
9 changed files with 21 additions and 25 deletions

View File

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