about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Src/Zle/zle_keymap.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index aaae78fa1..8ba052f16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-10-28  Peter Stephenson  <pws@csr.com>
 
+	* unposted: Src/Zle/zle_keymap.c: missed this out.
+
 	* 21943, 21945: configure.ac, Src/prompt.c, Src/string.c,
 	Src/system.h, Src/utils.c, Src/zsh.h, Src/Zle/complist.c,
 	Src/Zle/compmatch.c, Src/Zle/compresult.c, Src/Zle/zle.h,
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);