summaryrefslogtreecommitdiff
path: root/usr.bin/mg/modes.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-24 10:43:22 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-24 10:43:22 +0000
commita362f5a3bc8fb4f28a7cf27e55a956db6b1585a1 (patch)
tree68d97d7cc1ca08fa7ff7d87b17fa6eb9af5b7352 /usr.bin/mg/modes.c
parent8a16edcb82485ab189d1f1167ca787bedc144a3b (diff)
Make the keymap/mode table growable in runtime.
Diffstat (limited to 'usr.bin/mg/modes.c')
-rw-r--r--usr.bin/mg/modes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/modes.c b/usr.bin/mg/modes.c
index ab196ce4d52..0defd16c9a3 100644
--- a/usr.bin/mg/modes.c
+++ b/usr.bin/mg/modes.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: modes.c,v 1.5 2001/05/24 03:05:25 mickey Exp $ */
+/* $OpenBSD: modes.c,v 1.6 2001/05/24 10:43:21 art Exp $ */
/*
* Commands to toggle modes. Without an argument, these functions will
@@ -12,7 +12,7 @@
static int changemode __P((int, int, char *));
int defb_nmodes = 0;
-MAPS *defb_modes[PBMODES] = { &map_table[0] };
+MAPS *defb_modes[PBMODES] = { &fundamental_mode };
int defb_flag = 0;
static int