diff options
author | Vincent Labrecque <vincent@cvs.openbsd.org> | 2002-03-16 19:30:30 +0000 |
---|---|---|
committer | Vincent Labrecque <vincent@cvs.openbsd.org> | 2002-03-16 19:30:30 +0000 |
commit | 79b17a9b4c1a6bc5027e1a05ef18325027b41175 (patch) | |
tree | 0be9d646e8481144cf284c17059bfcb004f4ffd3 /usr.bin/mg/help.c | |
parent | 0cf85c22e5b84342fbb6b64c7393ddfce3ea03b5 (diff) |
Make these special buffers readonly by default. ok art@
Diffstat (limited to 'usr.bin/mg/help.c')
-rw-r--r-- | usr.bin/mg/help.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/help.c b/usr.bin/mg/help.c index 65428d32f37..8b9e00c3c04 100644 --- a/usr.bin/mg/help.c +++ b/usr.bin/mg/help.c @@ -1,4 +1,4 @@ -/* $OpenBSD: help.c,v 1.16 2002/03/11 13:02:56 vincent Exp $ */ +/* $OpenBSD: help.c,v 1.17 2002/03/16 19:30:29 vincent Exp $ */ /* * Help functions for Mg 2 @@ -107,6 +107,7 @@ wallchart(f, n) if (bclear(bp) != TRUE) /* clear it out */ return FALSE; + bp->b_flag |= BFREADONLY; for (m = curbp->b_nmodes; m > 0; m--) { if ((addlinef(bp, "Local keybindings for mode %s:", curbp->b_modes[m]->p_name) == FALSE) || |