updated for version 7.0-143
diff --git a/src/option.c b/src/option.c
index aa8a70e..0bd218c 100644
--- a/src/option.c
+++ b/src/option.c
@@ -3405,7 +3405,7 @@
 	}
 	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 3bd726d..85176f7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    143,
+/**/
     142,
 /**/
     141,