diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2009-06-04 02:23:38 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2009-06-04 02:23:38 +0000 |
commit | e793626495495d40a46fde7c191a8b50e50a7fbb (patch) | |
tree | 59c1f60cc566e6605b015ca3ee65e89631b7e8d0 /usr.bin/mg/dired.c | |
parent | f61a5bac0b93a190f97ccac81cd6728fc500b021 (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/dired.c')
-rw-r--r-- | usr.bin/mg/dired.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/mg/dired.c b/usr.bin/mg/dired.c index 27c37b4bb4b..7a758fbaf57 100644 --- a/usr.bin/mg/dired.c +++ b/usr.bin/mg/dired.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dired.c,v 1.43 2007/09/11 15:47:17 gilles Exp $ */ +/* $OpenBSD: dired.c,v 1.44 2009/06/04 02:23:37 kjell Exp $ */ /* This file is in the public domain. */ @@ -244,7 +244,7 @@ d_del(int f, int n) if (lforw(curwp->w_dotp) != curbp->b_headp) curwp->w_dotp = lforw(curwp->w_dotp); } - curwp->w_flag |= WFEDIT | WFMOVE; + curwp->w_rflag |= WFEDIT | WFMOVE; curwp->w_doto = 0; return (TRUE); } @@ -261,7 +261,7 @@ d_undel(int f, int n) if (lforw(curwp->w_dotp) != curbp->b_headp) curwp->w_dotp = lforw(curwp->w_dotp); } - curwp->w_flag |= WFEDIT | WFMOVE; + curwp->w_rflag |= WFEDIT | WFMOVE; curwp->w_doto = 0; return (TRUE); } @@ -279,7 +279,7 @@ d_undelbak(int f, int n) curwp->w_dotp = lback(curwp->w_dotp); } curwp->w_doto = 0; - curwp->w_flag |= WFEDIT | WFMOVE; + curwp->w_rflag |= WFEDIT | WFMOVE; return (TRUE); } @@ -360,7 +360,7 @@ d_expunge(int f, int n) } lfree(lp); curwp->w_bufp->b_lines--; - curwp->w_flag |= WFFULL; + curwp->w_rflag |= WFFULL; } } return (TRUE); |