summaryrefslogtreecommitdiffstats
path: root/validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-12 02:57:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-12 02:57:35 +0000
commit6cef110ea7c9248b1b0e3caead715fbe248dadac (patch)
tree7b0cd4631fbaa3bfe4d1e183de783d8ca5d9f66d /validate.c
parentcaf7a1a713d8bbe1bad95ee8801eba029cab20de (diff)
downloadmandoc-6cef110ea7c9248b1b0e3caead715fbe248dadac.tar.gz
Brq/Bro/Brc fixed up and pretty.
Cleaned up Aq/Sq use of escapes in term.c. Added initial -column support. Fixed argv returning ARGV_WORD and tokenising anyway.
Diffstat (limited to 'validate.c')
-rw-r--r--validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/validate.c b/validate.c
index 595b1edd..7da4a197 100644
--- a/validate.c
+++ b/validate.c
@@ -1187,8 +1187,8 @@ post_it(POST_ARGS)
if (mdoc->last->body->child)
if ( ! mwarn(mdoc, WNOMULTILINE))
return(0);
- c = mdoc->last->head->child;
- for (i = 0; c; c = c->next)
+ c = mdoc->last->head;
+ for (i = 0; c && MDOC_HEAD == c->type; c = c->next)
i++;
if (i == cols)
break;