mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
refactor: cast to int earlier when using 'so' and 'siso' (#24756)
This commit is contained in:
@@ -2812,7 +2812,7 @@ static void nv_zet(cmdarg_T *cap)
|
||||
long old_fdl = curwin->w_p_fdl;
|
||||
int old_fen = curwin->w_p_fen;
|
||||
|
||||
int siso = (int)get_sidescrolloff_value(curwin);
|
||||
int siso = get_sidescrolloff_value(curwin);
|
||||
|
||||
if (ascii_isdigit(nchar) && !nv_z_get_count(cap, &nchar)) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user