summaryrefslogtreecommitdiffstats
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-31 14:46:18 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-31 14:46:18 +0100
commita2a8973e51a0052bb52e43a2b22e7ecdecc32003 (patch)
tree42700a5eab4930539b87591ad903f7271b527fc3 /src/option.c
parenta63ad78ed31e36dbdf3a9cd28071dcdbefce7d19 (diff)
patch 9.0.0340: the 'cmdheight' zero support causes too much troublev9.0.0340
Problem: The 'cmdheight' zero support causes too much trouble. Solution: Revert support for 'cmdheight' being zero.
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c
index 9573351145..5ce52184ea 100644
--- a/src/option.c
+++ b/src/option.c
@@ -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;