1
0
forked from aniani/vim

updated for version 7.2-024

This commit is contained in:
Bram Moolenaar
2008-10-02 20:48:41 +00:00
parent 85595c5815
commit 991e10f3c7
2 changed files with 7 additions and 0 deletions

View File

@@ -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;

View File

@@ -676,6 +676,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
24,
/**/
23,
/**/