summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-11-23 19:18:44 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2015-11-23 19:18:44 -0800
commitbc30d6bfca6f7b0a8578eecf468897975674d2b7 (patch)
tree959110d3d0ea04f38ac9950304fa7fe94c4ce429 /Src
parent4e87006fc7303c6a2427595cbc4bb534a6db3fd3 (diff)
downloadzsh-bc30d6bfca6f7b0a8578eecf468897975674d2b7.tar.gz
zsh-bc30d6bfca6f7b0a8578eecf468897975674d2b7.tar.xz
zsh-bc30d6bfca6f7b0a8578eecf468897975674d2b7.zip
37206: fix ${(t)param} for "typeset -H param"
Diffstat (limited to 'Src')
-rw-r--r--Src/subst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/subst.c b/Src/subst.c
index b7f8338c7..d9c9d24aa 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -2454,7 +2454,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int pf_flags,
 		    val = dyncat(val, "-unique");
 		if (f & PM_HIDE)
 		    val = dyncat(val, "-hide");
-		if (f & PM_HIDE)
+		if (f & PM_HIDEVAL)
 		    val = dyncat(val, "-hideval");
 		if (f & PM_SPECIAL)
 		    val = dyncat(val, "-special");