# HG changeset patch # User vimboss # Date 1222980521 0 # Node ID 1e25b58fbf7babbbe054e118617a49790f532fd4 # Parent 7c3302e07dd7cf0d746776234ed4e9cb376d3611 updated for version 7.2-024 diff --git a/src/option.c b/src/option.c --- a/src/option.c +++ b/src/option.c @@ -7974,6 +7974,11 @@ set_num_option(opt_idx, varp, value, err 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 --- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 24, +/**/ 23, /**/ 22,