Fix pasto that affected bind -k (Christoph Mallon)
This commit is contained in:
parent
87c764948d
commit
1da7b96282
|
@ -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 Char **argv)
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue