From b27fa2f6a9aae6a0a87897200334b193aa2882dd Mon Sep 17 00:00:00 2001 From: Kjell Wooding Date: Tue, 25 Jul 2006 08:22:33 +0000 Subject: Rename the header line of a buffer to b_headp, from the remarkably unintuitive b_linep. No binary change. --- usr.bin/mg/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/mg/main.c') 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. */ -- cgit v1.2.3