summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-04-06 16:27:53 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-04-06 16:27:53 +0000
commit188c8509a88c2d2372877692bfb173e9de929404 (patch)
tree8200576d62c8d88a137e3feffa448d81fe16328b /mdoc_term.c
parent81497a9c2422b5691aba06535567ec17353ea4f2 (diff)
downloadmandoc-188c8509a88c2d2372877692bfb173e9de929404.tar.gz
Allow `Bd' to accept (warn about then ignore) in-line arguments.
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 671a5ecc..b3c7b9bf 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1604,8 +1604,8 @@ termp_bd_pre(DECL_ARGS)
if (MDOC_BLOCK == n->type) {
print_bvspace(p, n, n);
return(1);
- } else if (MDOC_BODY != n->type)
- return(1);
+ } else if (MDOC_HEAD == n->type)
+ return(0);
nn = n->parent;