diff options
author | 2014-11-06 22:27:52 +0000 | |
---|---|---|
committer | 2014-11-06 22:27:52 +0000 | |
commit | 7c64ba2f885d7dbb14248cbf28a92b9499ad56ca (patch) | |
tree | b5d47968a85824534b9177044e72b663b1da36b7 | |
parent | fixup argv handling after getopt conversion. oops. (diff) | |
download | wireguard-openbsd-7c64ba2f885d7dbb14248cbf28a92b9499ad56ca.tar.xz wireguard-openbsd-7c64ba2f885d7dbb14248cbf28a92b9499ad56ca.zip |
Let -Tascii \(bu (bullet) output agree with groff;
this is now possible because -Tps now handles backspace overstriking.
-rw-r--r-- | usr.bin/mandoc/chars.in | 4 | ||||
-rw-r--r-- | usr.bin/mandoc/mdoc_man.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mandoc/chars.in b/usr.bin/mandoc/chars.in index 3b097f48453..85e55fd4a12 100644 --- a/usr.bin/mandoc/chars.in +++ b/usr.bin/mandoc/chars.in @@ -1,4 +1,4 @@ -/* $OpenBSD: chars.in,v 1.24 2014/10/29 03:34:26 schwarze Exp $ */ +/* $OpenBSD: chars.in,v 1.25 2014/11/06 22:27:52 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -364,7 +364,7 @@ CHAR("rs", "\\", 92) /* Text markers. */ CHAR("ci", "O", 9675) -CHAR("bu", "o", 8226) +CHAR("bu", "+\bo", 8226) CHAR("dd", "|\b=", 8225) CHAR("dg", "|\b-", 8224) CHAR("lz", "<>", 9674) diff --git a/usr.bin/mandoc/mdoc_man.c b/usr.bin/mandoc/mdoc_man.c index 1c830af54b3..12230259bde 100644 --- a/usr.bin/mandoc/mdoc_man.c +++ b/usr.bin/mandoc/mdoc_man.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mdoc_man.c,v 1.69 2014/10/30 20:05:33 schwarze Exp $ */ +/* $OpenBSD: mdoc_man.c,v 1.70 2014/11/06 22:27:52 schwarze Exp $ */ /* * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> * @@ -1338,7 +1338,7 @@ pre_it(DECL_ARGS) outflags |= MMAN_nl; font_push('B'); if (LIST_bullet == bln->norm->Bl.type) - print_word("o"); + print_word("\\(bu"); else print_word("-"); font_pop(); |