aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.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_html.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_html.c')
-rw-r--r--mdoc_html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 398152d6..1b521c6a 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.88 2010/06/29 19:20:38 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.89 2010/07/01 14:34:03 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -437,7 +437,7 @@ print_mdoc_node(MDOC_ARGS)
print_text(h, n->string);
return;
default:
- if (mdocs[n->tok].pre && !n->end)
+ if (mdocs[n->tok].pre && ENDBODY_NOT == n->end)
child = (*mdocs[n->tok].pre)(m, n, h);
break;
}
@@ -453,7 +453,7 @@ print_mdoc_node(MDOC_ARGS)
mdoc_root_post(m, n, h);
break;
default:
- if (mdocs[n->tok].post && !n->end)
+ if (mdocs[n->tok].post && ENDBODY_NOT == n->end)
(*mdocs[n->tok].post)(m, n, h);
break;
}