about summary refs log tree commit diff
path: root/Src/Modules/mapfile.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-06 11:05:38 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-06 11:05:38 +0000
commit929c56748420b581088cd75443d21d7c06ac44d6 (patch)
treebd68094f0d44922a9b125ea4211c45267506e478 /Src/Modules/mapfile.c
parentfb37f90888121c0fcf173539c3316e78379ff832 (diff)
downloadzsh-929c56748420b581088cd75443d21d7c06ac44d6.tar.gz
zsh-929c56748420b581088cd75443d21d7c06ac44d6.tar.xz
zsh-929c56748420b581088cd75443d21d7c06ac44d6.zip
zsh-3.1.6-pws-3 zsh-3.1.6-pws-3
Diffstat (limited to 'Src/Modules/mapfile.c')
-rw-r--r--Src/Modules/mapfile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/Modules/mapfile.c b/Src/Modules/mapfile.c
index cd9c0120d..431c488e6 100644
--- a/Src/Modules/mapfile.c
+++ b/Src/Modules/mapfile.c
@@ -83,8 +83,7 @@ createmapfilehash()
     Param pm;
     HashTable ht;
 
-    if ((pm = (Param) gethashnode2(paramtab, mapfile_nam)))
-	unsetparam_pm(pm, 0, 1);
+    unsetparam(mapfile_nam);
     mapfile_pm = NULL;
 
     if (!(pm = createparam(mapfile_nam,