summaryrefslogtreecommitdiff
path: root/usr.bin/mg/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/match.c')
-rw-r--r--usr.bin/mg/match.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/match.c b/usr.bin/mg/match.c
index 96ae0db64d2..4c5d0c31d0b 100644
--- a/usr.bin/mg/match.c
+++ b/usr.bin/mg/match.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: match.c,v 1.15 2008/06/14 08:46:30 kjell Exp $ */
+/* $OpenBSD: match.c,v 1.16 2009/06/04 02:23:37 kjell Exp $ */
/* This file is in the public domain. */
@@ -150,14 +150,14 @@ displaymatch(struct line *clp, int cbo)
curwp->w_dotp = clp; /* move to new position */
curwp->w_doto = cbo;
- curwp->w_flag |= WFMOVE;
+ curwp->w_rflag |= WFMOVE;
update(); /* show match */
ttwait(1000); /* wait for key or 1 second */
curwp->w_dotp = tlp; /* return to old position */
curwp->w_doto = tbo;
- curwp->w_flag |= WFMOVE;
+ curwp->w_rflag |= WFMOVE;
update();
} else {
/* match is not in this window, so display line in echo area */