about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-10-28 17:42:07 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-10-28 17:42:07 +0000
commitd5ac7ad46efb1964ea9256aa837d87d259b9e835 (patch)
treed019d93d665c23d56ae50ec34c27ac37cb0cf1ec /Src/Zle
parentaea77152614952519351b5a52b6ec19ea7c302c2 (diff)
downloadzsh-d5ac7ad46efb1964ea9256aa837d87d259b9e835.tar.gz
zsh-d5ac7ad46efb1964ea9256aa837d87d259b9e835.tar.xz
zsh-d5ac7ad46efb1964ea9256aa837d87d259b9e835.zip
unposted: bit I missed in 21945
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_keymap.c b/Src/Zle/zle_keymap.c
index 7d481f3a6..7cd3b2365 100644
--- a/Src/Zle/zle_keymap.c
+++ b/Src/Zle/zle_keymap.c
@@ -389,7 +389,7 @@ selectkeymap(char *name, int fb)
     Keymap km = openkeymap(name);
 
     if(!km) {
-	char *nm = ZMB_niceztrdup(name);
+	char *nm = nicedup(name, 0);
 	char *msg = tricat("No such keymap `", nm, "'");
 
 	zsfree(nm);