* mdocml: oops, fix stupid typo in previous
@ 2016-08-11 11:40 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2016-08-11 11:40 UTC (permalink / raw)
To: source
Log Message:
-----------
oops, fix stupid typo in previous
Modified Files:
--------------
mdocml:
mdoc_validate.c
Revision Data
-------------
Index: mdoc_validate.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mdoc_validate.c,v
retrieving revision 1.306
retrieving revision 1.307
diff -Lmdoc_validate.c -Lmdoc_validate.c -u -p -r1.306 -r1.307
--- mdoc_validate.c
+++ 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,
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-08-11 11:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-11 11:40 mdocml: oops, fix stupid typo in previous schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).