updated for version 7.2-024 v7.2.024
authorBram Moolenaar <Bram@vim.org>
Thu, 2 Oct 2008 20:48:41 +0000 (20:48 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 2 Oct 2008 20:48:41 +0000 (20:48 +0000)
src/option.c
src/version.c

index 04581a8ebf23d42e28018f498aaec79b0188b45a..20fef41076816aa9c59d75272ef835ed209eef5c 100644 (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;
index 0ed7da104d1fae8b0b155e5ba7bf0c746030f694..c5dc0fde9eba1ea566f31db680e25c29dfc75dd7 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    24,
 /**/
     23,
 /**/