mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user