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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user