mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
zsh-workers/7627
This commit is contained in:
parent
b3257a4708
commit
b13200b2a3
1 changed files with 3 additions and 1 deletions
|
@ -1733,7 +1733,9 @@ unsetparam(char *s)
|
|||
{
|
||||
Param pm;
|
||||
|
||||
if ((pm = (Param) paramtab->getnode(paramtab, s)))
|
||||
if ((pm = (Param) (paramtab == realparamtab ?
|
||||
gethashnode2(paramtab, s) :
|
||||
paramtab->getnode(paramtab, s))))
|
||||
unsetparam_pm(pm, 0, 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue