diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2006-07-25 08:22:33 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2006-07-25 08:22:33 +0000 |
commit | b27fa2f6a9aae6a0a87897200334b193aa2882dd (patch) | |
tree | 78c6dd499c6a7fa94bfdc2b904111a8000d3f2e4 /usr.bin/mg/extend.c | |
parent | 13c96fecbc7c5b3efb9b2f86588c8027f4de4ae0 (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/extend.c')
-rw-r--r-- | usr.bin/mg/extend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/extend.c b/usr.bin/mg/extend.c index 07d9637c56f..7080486f2a4 100644 --- a/usr.bin/mg/extend.c +++ b/usr.bin/mg/extend.c @@ -1,4 +1,4 @@ -/* $OpenBSD: extend.c,v 1.46 2006/06/01 05:34:52 jason Exp $ */ +/* $OpenBSD: extend.c,v 1.47 2006/07/25 08:22:32 kjell Exp $ */ /* This file is in the public domain. */ @@ -621,7 +621,7 @@ evalbuffer(int f, int n) int s; static char excbuf[128]; - for (lp = lforw(bp->b_linep); lp != bp->b_linep; lp = lforw(lp)) { + for (lp = lforw(bp->b_headp); lp != bp->b_headp; lp = lforw(lp)) { if (llength(lp) >= 128) return (FALSE); (void)strncpy(excbuf, ltext(lp), llength(lp)); |