1
0
forked from aniani/vim

patch 9.0.0340: the 'cmdheight' zero support causes too much trouble

Problem:    The 'cmdheight' zero support causes too much trouble.
Solution:   Revert support for 'cmdheight' being zero.
This commit is contained in:
Bram Moolenaar
2022-08-31 14:46:18 +01:00
parent a63ad78ed3
commit a2a8973e51
32 changed files with 46 additions and 404 deletions

View File

@@ -3555,7 +3555,7 @@ set_num_option(
// if p_ch changed value, change the command line height
else if (pp == &p_ch)
{
if (p_ch < 0)
if (p_ch < 1)
{
errmsg = e_argument_must_be_positive;
p_ch = 1;