about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-05-21 11:00:50 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-05-21 11:00:50 +0000
commit55ca3b0d16579daed0bbfe1b8bbbaa1b66c318b8 (patch)
tree227556c44856ed7e2a2146ab72087e5f4076889e /Src
parent4669ee4741965bbfdc0df27ba7bd382f6d711ac3 (diff)
downloadzsh-55ca3b0d16579daed0bbfe1b8bbbaa1b66c318b8.tar.gz
zsh-55ca3b0d16579daed0bbfe1b8bbbaa1b66c318b8.tar.xz
zsh-55ca3b0d16579daed0bbfe1b8bbbaa1b66c318b8.zip
23446: fix typo producing wrong values for alias parameters
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/parameter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c
index d9b8d1b4f..7b790acc6 100644
--- a/Src/Modules/parameter.c
+++ b/Src/Modules/parameter.c
@@ -1778,7 +1778,7 @@ scanaliases(HashTable alht, UNUSED(HashTable ht), ScanFunc func,
 		if (func != scancountparams &&
 		    ((pmflags & (SCANPM_WANTVALS|SCANPM_MATCHVAL)) ||
 		     !(pmflags & SCANPM_WANTKEYS)))
-		    pm.u.str = dupstring(al->node.nam);
+		    pm.u.str = dupstring(al->text);
 		func(&pm.node, pmflags);
 	    }
 	}