summaryrefslogtreecommitdiff
path: root/usr.bin/vi/ex/ex.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-18 09:59:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-18 09:59:13 +0000
commit235b40f1bb36006b01cd45b3fe9605570b5d8a6d (patch)
tree8cd31f60d4811d7dc6eb09f47da8b226686ebf3c /usr.bin/vi/ex/ex.c
parentdf2140f19b8e88fbcef5748d92fcf72f447586b1 (diff)
vi fixes from bostic
Diffstat (limited to 'usr.bin/vi/ex/ex.c')
-rw-r--r--usr.bin/vi/ex/ex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/vi/ex/ex.c b/usr.bin/vi/ex/ex.c
index 001fada80a8..3f2af66b5c4 100644
--- a/usr.bin/vi/ex/ex.c
+++ b/usr.bin/vi/ex/ex.c
@@ -91,8 +91,9 @@ ex(spp)
for (;; ++gp->excmd.if_lno) {
/* Display status line and flush. */
if (F_ISSET(sp, SC_STATUS)) {
+ if (!F_ISSET(sp, SC_EX_SILENT))
+ msgq_status(sp, sp->lno, 0);
F_CLR(sp, SC_STATUS);
- msgq_status(sp, sp->lno, 0);
}
(void)ex_fflush(sp);