forked from aniani/vim
patch 9.0.0652: 'smoothscroll' not tested with 'number' and "n" in 'cpo'
Problem: 'smoothscroll' not tested with 'number' and "n" in 'cpo'. Solution: Add tests, fix uncovered problem.
This commit is contained in:
@@ -50,7 +50,7 @@ adjust_plines_for_skipcol(win_T *wp, int n)
|
||||
{
|
||||
++off;
|
||||
int skip = wp->w_skipcol - width;
|
||||
width -= win_col_off2(wp);
|
||||
width += win_col_off2(wp);
|
||||
while (skip >= width)
|
||||
{
|
||||
++off;
|
||||
|
Reference in New Issue
Block a user