diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-31 14:46:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-31 14:46:18 +0100 |
commit | a2a8973e51a0052bb52e43a2b22e7ecdecc32003 (patch) | |
tree | 42700a5eab4930539b87591ad903f7271b527fc3 /src/option.c | |
parent | a63ad78ed31e36dbdf3a9cd28071dcdbefce7d19 (diff) | |
download | vim-git-a2a8973e51a0052bb52e43a2b22e7ecdecc32003.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |