summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-01 14:34:03 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-01 14:34:03 +0000
commit2302db180178413966db5db96a8d327e78b53afe (patch)
tree9e2f31c722c5f7a43cae7faaa3e51df2a053893e /mdoc_term.c
parent276ddbc20f4715e04d08fc32407c770bf4cdbd8e (diff)
downloadmandoc-2302db180178413966db5db96a8d327e78b53afe.tar.gz
More reality-checks for the p->end type.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 3ccf9de7..633394d1 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -327,7 +327,7 @@ print_mdoc_node(DECL_ARGS)
if (MDOC_TEXT == n->type)
term_word(p, n->string);
- else if (termacts[n->tok].pre && !n->end)
+ else if (termacts[n->tok].pre && ENDBODY_NOT == n->end)
chld = (*termacts[n->tok].pre)(p, &npair, m, n);
if (chld && n->child)