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