diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-08-11 11:39:46 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-08-11 11:39:46 +0000 |
commit | 16d253a28afb75128b49ce68e8fba02526bba4fd (patch) | |
tree | 920d3836a22557fd9ff5aaab579d6bf4a32a0a5e | |
parent | 2ed7335d7c5c3402584fdef6e3847eb2af331d76 (diff) | |
download | mandoc-16d253a28afb75128b49ce68e8fba02526bba4fd.tar.gz |
oops, fix stupid typo in previous
-rw-r--r-- | mdoc_validate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index 1a36052a..25cd10a8 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -887,7 +887,8 @@ post_display(POST_ARGS) switch (n->type) { case ROFFT_BODY: if (n->end != ENDBODY_NOT) { - if (n->tok == MDOC_Bd && n->parent->args == NULL) + if (n->tok == MDOC_Bd && + n->body->parent->args == NULL) roff_node_delete(mdoc, n); } else if (n->child == NULL) mandoc_msg(MANDOCERR_BLK_EMPTY, mdoc->parse, |