From 6628fcc374ab66a866d6b55aae239bcd4d79161e Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 26 Sep 2016 05:32:36 +0000 Subject: no overstrikes in -i mode; ok millert@ guenther@ --- usr.bin/ul/ul.c | 4 ++-- 1 file 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) -- cgit v1.2.3