summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-10-17 16:34:24 +0000
committerBram Moolenaar <Bram@vim.org>2006-10-17 16:34:24 +0000
commit5fc1a8b5d7f78cf3979f00f22f3dc1bb358c2c8f (patch)
treed401ab8a158ad35a5e5b8ba085b99839a43e64fa
parenta350f4a54f90dec5b710fd83941b00e13a55ecc5 (diff)
updated for version 7.0-143v7.0.143
-rw-r--r--src/option.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 143,
+/**/
142,
/**/
141,