From 6aa434a613ae90a05243c999174fdf0231c54b3a Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 1 Jul 2010 14:34:03 +0000 Subject: More reality-checks for the p->end type. --- mdoc_term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_term.c') 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 * @@ -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) -- cgit v1.2.3