summaryrefslogtreecommitdiffstats
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
commit2302db180178413966db5db96a8d327e78b53afe (patch)
tree9e2f31c722c5f7a43cae7faaa3e51df2a053893e /mdoc_html.c
parent276ddbc20f4715e04d08fc32407c770bf4cdbd8e (diff)
downloadmandoc-2302db180178413966db5db96a8d327e78b53afe.tar.gz
More reality-checks for the p->end type.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index a9259498..531b6153 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -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;
}