From: Bram Moolenaar Date: Thu, 2 Oct 2008 20:48:41 +0000 (+0000) Subject: updated for version 7.2-024 X-Git-Tag: v7.2.024 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=991e10f3c7dd8a70ed6e8e975dab438ae85d73bc;p=vim updated for version 7.2-024 --- diff --git a/src/option.c b/src/option.c index 04581a8eb..20fef4107 100644 --- a/src/option.c +++ b/src/option.c @@ -7974,6 +7974,11 @@ set_num_option(opt_idx, varp, value, errbuf, errbuflen, opt_flags) else /* curwin->w_p_scr > curwin->w_height */ curwin->w_p_scr = curwin->w_height; } + if (p_hi < 0) + { + errmsg = e_positive; + p_hi = 0; + } if (p_report < 0) { errmsg = e_positive; diff --git a/src/version.c b/src/version.c index 0ed7da104..c5dc0fde9 100644 --- a/src/version.c +++ b/src/version.c @@ -676,6 +676,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 24, /**/ 23, /**/