summaryrefslogtreecommitdiffstats
path: root/usr.bin/mg/keymap.c
diff options
context:
space:
mode:
authorbcallah <bcallah@openbsd.org>2015-03-16 13:47:48 +0000
committerbcallah <bcallah@openbsd.org>2015-03-16 13:47:48 +0000
commit3eb81a2ed4fc3a78121d7f87aa355d6de57e083c (patch)
treef260a491f5ee71d5e9e18523eeabc90dab22a518 /usr.bin/mg/keymap.c
parentChange the internal name of the newline function to deconflict with a (diff)
downloadwireguard-openbsd-3eb81a2ed4fc3a78121d7f87aa355d6de57e083c.tar.xz
wireguard-openbsd-3eb81a2ed4fc3a78121d7f87aa355d6de57e083c.zip
Change the internal name of the newline function to deconflict with a
function of the same name in term.h. This is the first step towards cleaning up mg's includes. No user-visible changes. ok florian@
Diffstat (limited to 'usr.bin/mg/keymap.c')
-rw-r--r--usr.bin/mg/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/keymap.c b/usr.bin/mg/keymap.c
index 8d52ada1da7..12c33859670 100644
--- a/usr.bin/mg/keymap.c
+++ b/usr.bin/mg/keymap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keymap.c,v 1.52 2014/08/14 12:22:58 bcallah Exp $ */
+/* $OpenBSD: keymap.c,v 1.53 2015/03/16 13:47:48 bcallah Exp $ */
/* This file is in the public domain. */
@@ -359,7 +359,7 @@ static PF fund_CJ[] = {
lfindent, /* ^J */
killline, /* ^K */
reposition, /* ^L */
- newline, /* ^M */
+ enewline, /* ^M */
forwline, /* ^N */
openline, /* ^O */
backline, /* ^P */
@@ -444,7 +444,7 @@ static struct KEYMAPE (1 + IMAPEXT) fillmap = {
};
static PF indent_lf[] = {
- newline, /* ^J */
+ enewline, /* ^J */
rescan, /* ^K */
rescan, /* ^L */
lfindent /* ^M */