summaryrefslogtreecommitdiff
path: root/usr.bin/mg/main.c
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2006-07-25 08:22:33 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2006-07-25 08:22:33 +0000
commitb27fa2f6a9aae6a0a87897200334b193aa2882dd (patch)
tree78c6dd499c6a7fa94bfdc2b904111a8000d3f2e4 /usr.bin/mg/main.c
parent13c96fecbc7c5b3efb9b2f86588c8027f4de4ae0 (diff)
Rename the header line of a buffer to b_headp, from the remarkably
unintuitive b_linep. No binary change.
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 80b3c0b7e05..6d743f1844a 100644
--- a/usr.bin/mg/main.c
+++ b/usr.bin/mg/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.53 2006/07/17 14:11:55 kjell Exp $ */
+/* $OpenBSD: main.c,v 1.54 2006/07/25 08:22:32 kjell Exp $ */
/* This file is in the public domain. */
@@ -196,7 +196,7 @@ edinit(PF init_fcn)
wheadp = wp;
curwp = wp;
wp->w_wndp = NULL; /* Initialize window. */
- wp->w_linep = wp->w_dotp = bp->b_linep;
+ wp->w_linep = wp->w_dotp = bp->b_headp;
wp->w_ntrows = nrow - 2; /* 2 = mode, echo. */
wp->w_flag = WFMODE | WFFULL; /* Full. */