commit | 991e10f3c7dd8a70ed6e8e975dab438ae85d73bc | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Oct 02 20:48:41 2008 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Oct 02 20:48:41 2008 +0000 |
tree | 7962381c41a23343c36a498a755edff1f59c10c8 | |
parent | 85595c58151436d416aaedfa6a6a3be08439c736 [diff] [blame] |
updated for version 7.2-024
diff --git a/src/option.c b/src/option.c index 04581a8..20fef41 100644 --- a/src/option.c +++ b/src/option.c
@@ -7974,6 +7974,11 @@ 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;