diff --git a/src/option.c b/src/option.c index aa8a70e6c6..0bd218c978 100644 --- a/src/option.c +++ b/src/option.c @@ -3405,7 +3405,7 @@ set_option_default(opt_idx, opt_flags, compatible) } else if (flags & P_NUM) { - if (varp == (char_u *)PV_SCROLL) + if (options[opt_idx].indir == PV_SCROLL) win_comp_scroll(curwin); else { diff --git a/src/version.c b/src/version.c index 3bd726ddd4..85176f746a 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 143, /**/ 142, /**/