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/line.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/line.c')
-rw-r--r-- | usr.bin/mg/line.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/line.c b/usr.bin/mg/line.c index 840c3adf3d9..23d07945b2d 100644 --- a/usr.bin/mg/line.c +++ b/usr.bin/mg/line.c @@ -1,4 +1,4 @@ -/* $OpenBSD: line.c,v 1.46 2008/09/15 16:13:35 kjell Exp $ */ +/* $OpenBSD: line.c,v 1.47 2009/06/04 02:23:37 kjell Exp $ */ /* This file is in the public domain. */ @@ -120,9 +120,9 @@ lchange(int flag) } for (wp = wheadp; wp != NULL; wp = wp->w_wndp) { if (wp->w_bufp == curbp) { - wp->w_flag |= flag; + wp->w_rflag |= flag; if (wp != curwp) - wp->w_flag |= WFFULL; + wp->w_rflag |= WFFULL; } } } |