aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-04-14 18:25:04 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-04-14 18:25:04 +0000
commit2f432db9c51ac711c0029344f3013254cb66eff9 (patch)
treef9883e63c3beaa71391c92370c70a64c8c2b18ec /mdoc_term.c
parent18782f6158964a06db7d2eb086891ca5da9758f2 (diff)
downloadmandoc-2f432db9c51ac711c0029344f3013254cb66eff9.tar.gz
mandoc-2f432db9c51ac711c0029344f3013254cb66eff9.tar.zst
mandoc-2f432db9c51ac711c0029344f3013254cb66eff9.zip
Do not make the colon after the .Lk link text italic.
I just pushed the same change to GNU troff.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index e9ea455a..18183a31 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.346 2017/02/17 19:15:41 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.347 2017/04/14 18:25:04 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2012-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -2003,9 +2003,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);