diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-12-17 10:28:28 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-12-17 10:28:28 +0000 |
commit | 18d0b66bfb8c173ffb0673e3dc232e6675fac5c4 (patch) | |
tree | 1ff2677b6c758ae558352215387833a31e90c50c | |
parent | 728be0c8a5f4b3632fe8fd2884edf48bd8c151c6 (diff) |
change the name displayed by the c-mode on the mode line to "c",
as other modes do, for consistency and to save a few chars.
written with help from kjell@
ok kjell@
-rw-r--r-- | usr.bin/mg/cmode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/cmode.c b/usr.bin/mg/cmode.c index ed9598011f1..07a44735fc6 100644 --- a/usr.bin/mg/cmode.c +++ b/usr.bin/mg/cmode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmode.c,v 1.5 2008/09/15 16:13:35 kjell Exp $ */ +/* $OpenBSD: cmode.c,v 1.6 2008/12/17 10:28:27 sobrado Exp $ */ /* * This file is in the public domain. * @@ -92,7 +92,7 @@ cmode_init(void) funmap_add(cc_tab, "c-tab-or-indent"); funmap_add(cc_indent, "c-indent"); funmap_add(cc_lfindent, "c-indent-and-newline"); - maps_add((KEYMAP *)&cmodemap, "c-mode"); + maps_add((KEYMAP *)&cmodemap, "c"); } /* @@ -101,7 +101,7 @@ cmode_init(void) int cmode(int f, int n) { - return(changemode(f, n, "c-mode")); + return(changemode(f, n, "c")); } /* |