summaryrefslogtreecommitdiff
path: root/usr.bin/mg/main.c
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2009-06-04 02:23:38 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2009-06-04 02:23:38 +0000
commite793626495495d40a46fde7c191a8b50e50a7fbb (patch)
tree59c1f60cc566e6605b015ca3ee65e89631b7e8d0 /usr.bin/mg/main.c
parentf61a5bac0b93a190f97ccac81cd6728fc500b021 (diff)
Rename w_flag to w_rflag. This is not a general purpose
flag: it is for redisplay options only. I need an additional all-purpose flag, so renaming removes the desire to wrongly overload the existing one. Turdshine. No functional chage.
Diffstat (limited to 'usr.bin/mg/main.c')
-rw-r--r--usr.bin/mg/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c
index 9e54a18c834..4f1b1602dbb 100644
--- a/usr.bin/mg/main.c
+++ b/usr.bin/mg/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.60 2008/06/13 18:51:02 kjell Exp $ */
+/* $OpenBSD: main.c,v 1.61 2009/06/04 02:23:37 kjell Exp $ */
/* This file is in the public domain. */
@@ -214,7 +214,7 @@ edinit(PF init_fcn)
wp->w_wndp = NULL; /* Initialize window. */
wp->w_linep = wp->w_dotp = bp->b_headp;
wp->w_ntrows = nrow - 2; /* 2 = mode, echo. */
- wp->w_flag = WFMODE | WFFULL; /* Full. */
+ wp->w_rflag = WFMODE | WFFULL; /* Full. */
}
/*