diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-04-14 18:24:16 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-04-14 18:24:16 +0000 |
commit | 9521c323ed0ec162bacdf7ec1cb542053efe6a5a (patch) | |
tree | e7578e7888098d68a2309b0c79c5cb562ffc0a4e /usr.bin/mandoc | |
parent | b62a0ea9358b37fe500350815d53c81600882855 (diff) |
Do not make the colon after the .Lk link text italic.
I just pushed the same change to GNU troff.
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r-- | usr.bin/mandoc/mdoc_man.c | 4 | ||||
-rw-r--r-- | usr.bin/mandoc/mdoc_term.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mandoc/mdoc_man.c b/usr.bin/mandoc/mdoc_man.c index 36f09ae60fd..59690aa9df5 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.103 2017/03/04 21:41:13 schwarze Exp $ */ +/* $OpenBSD: mdoc_man.c,v 1.104 2017/04/14 18:24:15 schwarze Exp $ */ /* * Copyright (c) 2011-2017 Ingo Schwarze <schwarze@openbsd.org> * @@ -1472,8 +1472,8 @@ pre_lk(DECL_ARGS) print_word(descr->string); descr = descr->next; } - print_word(":"); font_pop(); + print_word(":"); } font_push('B'); diff --git a/usr.bin/mandoc/mdoc_term.c b/usr.bin/mandoc/mdoc_term.c index b7bb513791f..8605cf23208 100644 --- a/usr.bin/mandoc/mdoc_term.c +++ b/usr.bin/mandoc/mdoc_term.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mdoc_term.c,v 1.245 2017/02/17 19:14:39 schwarze Exp $ */ +/* $OpenBSD: mdoc_term.c,v 1.246 2017/04/14 18:23:29 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2012-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -2001,9 +2001,9 @@ termp_lk_pre(DECL_ARGS) term_word(p, descr->string); descr = descr->next; } + term_fontpop(p); p->flags |= TERMP_NOSPACE; term_word(p, ":"); - term_fontpop(p); } term_fontpush(p, TERMFONT_BOLD); |