From a2a8973e51a0052bb52e43a2b22e7ecdecc32003 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 31 Aug 2022 14:46:18 +0100 Subject: 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. --- src/option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/option.c') diff --git a/src/option.c b/src/option.c index 957335114..5ce52184e 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; -- cgit v1.2.1