summary refs log tree commit diff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2002-02-12 19:32:57 +0000
committerWayne Davison <wayned@users.sourceforge.net>2002-02-12 19:32:57 +0000
commit322c5abf00c81dbf0a243f768e9c41496fdbe320 (patch)
treea8216d462ee4300768708d678aa3f09ef13a284f
parentd4a5b9916f52fc226251368c3cb39bb5ae19b5f8 (diff)
downloadzsh-322c5abf00c81dbf0a243f768e9c41496fdbe320.tar.gz
zsh-322c5abf00c81dbf0a243f768e9c41496fdbe320.tar.xz
zsh-322c5abf00c81dbf0a243f768e9c41496fdbe320.zip
The minimum size of histsiz (aka HISTSIZE) should be 1, not 2.
-rw-r--r--Src/params.c4
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();
 }