summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 11:55:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 11:55:28 +0000
commite29162affa9ae847d5a3511c2945c9b3fff13597 (patch)
treec40c0364b3b2ff22f998f2ccbd15ae1988183ef8 /mdoc_term.c
parent5827a70535876bf8f6a58191951c114f0c56b47d (diff)
downloadmandoc-e29162affa9ae847d5a3511c2945c9b3fff13597.tar.gz
mandoc-e29162affa9ae847d5a3511c2945c9b3fff13597.tar.zst
mandoc-e29162affa9ae847d5a3511c2945c9b3fff13597.zip
Fix in -Tascii where `Lb' causes line-break in any section (should only happen in LIBRARY).
`Fn' first parameter is broken apart into ftype and fname in -Thtml (for correct style application). Fixed \0 special character.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 7331d0d9..aff4614d 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.81 2009/09/24 11:05:45 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.82 2009/09/24 11:55:28 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -1519,10 +1519,6 @@ termp_fn_pre(DECL_ARGS)
{
const struct mdoc_node *n;
- assert(node->child && MDOC_TEXT == node->child->type);
-
- /* FIXME: can be "type funcname" "type varname"... */
-
p->bold++;
term_word(p, node->child->string);
p->bold--;