aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit6aa434a613ae90a05243c999174fdf0231c54b3a (patch)
tree2852aec348d1eb1ba34459e81b88d65beb1aa127 /mdoc_term.c
parent336f2db8a92d815c7f7aa92f067f0768b1b2c3d6 (diff)
downloadmandoc-6aa434a613ae90a05243c999174fdf0231c54b3a.tar.gz
mandoc-6aa434a613ae90a05243c999174fdf0231c54b3a.tar.zst
mandoc-6aa434a613ae90a05243c999174fdf0231c54b3a.zip
More reality-checks for the p->end type.
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 6995bba1..02077563 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.162 2010/06/29 19:20:38 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.163 2010/07/01 14:34:03 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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)