aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-25 10:37:49 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-25 10:37:49 +0000
commit026fcc9f0bcdb3ef7c2a64feae925b2fcd9c6d16 (patch)
treed2243bcfe6b378bef4c207deba18d4029cb3eb4a /mdoc_term.c
parent6562230bbf1d7779c2751e91aea8485b983ab84e (diff)
downloadmandoc-026fcc9f0bcdb3ef7c2a64feae925b2fcd9c6d16.tar.gz
mandoc-026fcc9f0bcdb3ef7c2a64feae925b2fcd9c6d16.tar.zst
mandoc-026fcc9f0bcdb3ef7c2a64feae925b2fcd9c6d16.zip
If %B is specified, quote %T. Noted by schwarze@ in the TODO.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index d0eab85a..91954258 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.209 2011/01/12 10:43:22 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.210 2011/01/25 10:37:49 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -2169,7 +2169,7 @@ termp__t_post(DECL_ARGS)
* us instead of underlining us (for disambiguation).
*/
if (n->parent && MDOC_Rs == n->parent->tok &&
- n->parent->norm->Rs.child_J)
+ n->parent->norm->Rs.quote_T)
termp_quote_post(p, pair, m, n);
termp____post(p, pair, m, n);
@@ -2185,7 +2185,7 @@ termp__t_pre(DECL_ARGS)
* us instead of underlining us (for disambiguation).
*/
if (n->parent && MDOC_Rs == n->parent->tok &&
- n->parent->norm->Rs.child_J)
+ n->parent->norm->Rs.quote_T)
return(termp_quote_pre(p, pair, m, n));
term_fontpush(p, TERMFONT_UNDER);