1
0
forked from aniani/vim

updated for version 7.1-119

This commit is contained in:
Bram Moolenaar
2007-09-25 12:51:28 +00:00
parent b8dc4d4cdf
commit 719939c888
3 changed files with 5 additions and 0 deletions

View File

@@ -7824,6 +7824,8 @@ set_num_option(opt_idx, varp, value, errbuf, errbuflen, opt_flags)
errmsg = e_positive; errmsg = e_positive;
p_ch = 1; p_ch = 1;
} }
if (p_ch > Rows - min_rows() + 1)
p_ch = Rows - min_rows() + 1;
/* Only compute the new window layout when startup has been /* Only compute the new window layout when startup has been
* completed. Otherwise the frame sizes may be wrong. */ * completed. Otherwise the frame sizes may be wrong. */

View File

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

View File

@@ -5523,6 +5523,7 @@ command_height()
{ {
EMSG(_(e_noroom)); EMSG(_(e_noroom));
p_ch = old_p_ch; p_ch = old_p_ch;
curtab->tp_ch_used = p_ch;
cmdline_row = Rows - p_ch; cmdline_row = Rows - p_ch;
break; break;
} }