1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 05:00:59 +01:00

23446: fix typo producing wrong values for alias parameters

This commit is contained in:
Peter Stephenson 2007-05-21 11:00:50 +00:00
parent 4669ee4741
commit 55ca3b0d16
2 changed files with 4 additions and 1 deletions

View file

@ -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);
}
}