summaryrefslogtreecommitdiffstats
path: root/src/option.c
diff options
context:
space:
mode:
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 2a5c9144ac..e549ceda32 100644
--- a/src/option.c
+++ b/src/option.c
@@ -3559,7 +3559,7 @@ set_num_option(
// 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;