diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2002-02-12 19:32:57 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2002-02-12 19:32:57 +0000 |
commit | 322c5abf00c81dbf0a243f768e9c41496fdbe320 (patch) | |
tree | a8216d462ee4300768708d678aa3f09ef13a284f /Src/params.c | |
parent | d4a5b9916f52fc226251368c3cb39bb5ae19b5f8 (diff) | |
download | zsh-322c5abf00c81dbf0a243f768e9c41496fdbe320.tar.gz zsh-322c5abf00c81dbf0a243f768e9c41496fdbe320.tar.xz zsh-322c5abf00c81dbf0a243f768e9c41496fdbe320.zip |
The minimum size of histsiz (aka HISTSIZE) should be 1, not 2.
Diffstat (limited to 'Src/params.c')
-rw-r--r-- | Src/params.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/params.c b/Src/params.c index bf2b29ca1..fa475fdbc 100644 --- a/Src/params.c +++ b/Src/params.c @@ -2910,8 +2910,8 @@ histsizegetfn(Param pm) void histsizesetfn(Param pm, zlong v) { - if ((histsiz = v) <= 2) - histsiz = 2; + if ((histsiz = v) < 1) + histsiz = 1; resizehistents(); } |