summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2016-09-26 05:32:35 +0000
committerotto <otto@openbsd.org>2016-09-26 05:32:35 +0000
commit7d80a706bf6395d1c231b6df7f3725350e02fda2 (patch)
tree4dbeebee6acfe4209b0aa2cdb9a80e1405906b2e
parentCheck cpuid_level before using CPUID(). (diff)
downloadwireguard-openbsd-7d80a706bf6395d1c231b6df7f3725350e02fda2.tar.xz
wireguard-openbsd-7d80a706bf6395d1c231b6df7f3725350e02fda2.zip
no overstrikes in -i mode; ok millert@ guenther@
-rw-r--r--usr.bin/ul/ul.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ul/ul.c b/usr.bin/ul/ul.c
index d5f894b4b61..fcfcf83b078 100644
--- a/usr.bin/ul/ul.c
+++ b/usr.bin/ul/ul.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ul.c,v 1.21 2016/03/26 08:59:29 natano Exp $ */
+/* $OpenBSD: ul.c,v 1.22 2016/09/26 05:32:35 otto Exp $ */
/* $NetBSD: ul.c,v 1.3 1994/12/07 00:28:24 jtc Exp $ */
/*
@@ -361,7 +361,7 @@ flushln(void)
}
if (lastmode != NORMAL)
msetmode(0);
- if (must_overstrike && hadmodes)
+ if (must_overstrike && hadmodes && !iflag)
overstrike();
putwchar(L'\n');
if (iflag && hadmodes)