summaryrefslogtreecommitdiff
path: root/usr.bin/mg/dired.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/dired.c')
-rw-r--r--usr.bin/mg/dired.c10
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);