summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-09-25 22:16:38 +0000
committerBram Moolenaar <Bram@vim.org>2005-09-25 22:16:38 +0000
commit1e01546026ce909b5fe56c05867f28e77d1b6eb3 (patch)
tree05ccef65c430097352670acbbeb5520d649ba841 /src/option.c
parentbfd8fc0529f46612f7b3efca6c7b3305e70ac374 (diff)
downloadvim-git-1e01546026ce909b5fe56c05867f28e77d1b6eb3.tar.gz
updated for version 7.0150
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c
index 96d9df2da..d547edc1e 100644
--- a/src/option.c
+++ b/src/option.c
@@ -7420,7 +7420,7 @@ set_num_option(opt_idx, varp, value, errbuf, errbuflen, opt_flags)
errmsg = e_positive;
p_report = 1;
}
- if ((p_sj < 0 || p_sj >= Rows) && full_screen)
+ if ((p_sj < -100 || p_sj >= Rows) && full_screen)
{
if (Rows != old_Rows) /* Rows changed, just adjust p_sj */
p_sj = Rows / 2;