patch 9.0.0114: the command line takes up space even when not used
Problem: The command line takes up space even when not used.
Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita,
closes #10675, closes #940)
diff --git a/src/option.c b/src/option.c
index 2a5c914..e549ced 100644
--- a/src/option.c
+++ b/src/option.c
@@ -3559,7 +3559,7 @@
// if p_ch changed value, change the command line height
else if (pp == &p_ch)
{
- if (p_ch < 1)
+ if (p_ch < 0)
{
errmsg = e_argument_must_be_positive;
p_ch = 1;