commit | a2a8973e51a0052bb52e43a2b22e7ecdecc32003 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Aug 31 14:46:18 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Aug 31 14:46:18 2022 +0100 |
tree | 42700a5eab4930539b87591ad903f7271b527fc3 | |
parent | a63ad78ed31e36dbdf3a9cd28071dcdbefce7d19 [diff] [blame] |
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.
diff --git a/src/option.c b/src/option.c index 9573351..5ce5218 100644 --- a/src/option.c +++ b/src/option.c
@@ -3555,7 +3555,7 @@ // 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;