projects
/
vim
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85595c5
)
updated for version 7.2-024
v7.2.024
author
Bram Moolenaar
<Bram@vim.org>
Thu, 2 Oct 2008 20:48:41 +0000
(20:48 +0000)
committer
Bram Moolenaar
<Bram@vim.org>
Thu, 2 Oct 2008 20:48:41 +0000
(20:48 +0000)
src/option.c
patch
|
blob
|
history
src/version.c
patch
|
blob
|
history
diff --git
a/src/option.c
b/src/option.c
index 04581a8ebf23d42e28018f498aaec79b0188b45a..20fef41076816aa9c59d75272ef835ed209eef5c 100644
(file)
--- 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 0ed7da104d1fae8b0b155e5ba7bf0c746030f694..c5dc0fde9eba1ea566f31db680e25c29dfc75dd7 100644
(file)
--- 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,
/**/