Module Name:    src
Committed By:   christos
Date:           Tue Jan  1 15:33:06 UTC 2013

Modified Files:
        src/lib/libedit: map.c

Log Message:
Fix pasto that affected bind -k (Christoph Mallon)


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/libedit/map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libedit/map.c
diff -u src/lib/libedit/map.c:1.31 src/lib/libedit/map.c:1.32
--- src/lib/libedit/map.c:1.31	Fri Nov 18 15:39:18 2011
+++ src/lib/libedit/map.c	Tue Jan  1 10:33:06 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: map.c,v 1.31 2011/11/18 20:39:18 christos Exp $	*/
+/*	$NetBSD: map.c,v 1.32 2013/01/01 15:33:06 christos Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)map.c	8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: map.c,v 1.31 2011/11/18 20:39:18 christos Exp $");
+__RCSID("$NetBSD: map.c,v 1.32 2013/01/01 15:33:06 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -1368,7 +1368,7 @@ map_bind(EditLine *el, int argc, const C
 			return -1;
 		}
 		if (key)
-			terminal_set_arrow(el, in, keymacro_map_str(el, out), ntype);
+			terminal_set_arrow(el, in, keymacro_map_cmd(el, cmd), ntype);
 		else {
 			if (in[1]) {
 				keymacro_add(el, in, keymacro_map_cmd(el, cmd), ntype);

Reply via email to