about summary refs log tree commit diff
path: root/Src/Modules/parameter.c
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-05-30 03:43:27 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-05-30 03:43:27 +0000
commit8564aa5c0d77999138e4f46b496e2bbc2f48f718 (patch)
treeefebd369f29947bb23a73d9cd77914e9619a5e45 /Src/Modules/parameter.c
parent76868bdc6a9d9aaffb280f8206bdeebd1d2f14fc (diff)
downloadzsh-8564aa5c0d77999138e4f46b496e2bbc2f48f718.tar.gz
zsh-8564aa5c0d77999138e4f46b496e2bbc2f48f718.tar.xz
zsh-8564aa5c0d77999138e4f46b496e2bbc2f48f718.zip
Wayne: Fix two history bugs that were causing the
failure of `print -s'.
Diffstat (limited to 'Src/Modules/parameter.c')
-rw-r--r--Src/Modules/parameter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c
index e46b14108..55fca09ac 100644
--- a/Src/Modules/parameter.c
+++ b/Src/Modules/parameter.c
@@ -1059,7 +1059,7 @@ scanpmhistory(HashTable ht, ScanFunc func, int flags)
 {
     struct param pm;
     int i = addhistnum(curhist, -1, HIST_FOREIGN);
-    Histent he = quietgethistent(i, GETHIST_UPWARD);
+    Histent he = gethistent(i, GETHIST_UPWARD);
     char buf[40];
 
     pm.flags = PM_SCALAR | PM_READONLY;
@@ -1096,7 +1096,7 @@ histwgetfn(Param pm)
     LinkList l = newlinklist(), ll;
     LinkNode n;
     int i = addhistnum(curhist, -1, HIST_FOREIGN), iw;
-    Histent he = quietgethistent(i, GETHIST_UPWARD);
+    Histent he = gethistent(i, GETHIST_UPWARD);
 
     ll = bufferwords(NULL, NULL, NULL);
     for (n = firstnode(ll); n; incnode(n))