summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-23 08:36:32 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-23 08:36:32 +0000
commit426e06d7acebfcaf0c471eb4e2c86d0df54c4035 (patch)
treeae1a3577aa22b77e3a2c1c676f55ccb576102418 /mdoc_validate.c
parentdfce0426aaf96843f0845cc6bfae0c0fef4ce7d0 (diff)
downloadmandoc-426e06d7acebfcaf0c471eb4e2c86d0df54c4035.tar.gz
Bl -column now accepts columns = (1 + stated columns), which covers all remaining column usage/abuse I can see.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 2f1fa122..23c51ddc 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1029,7 +1029,7 @@ post_it(POST_ARGS)
for (i = 0; c && MDOC_HEAD == c->type; c = c->next)
i++;
- if (i < cols) {
+ if (i < cols || i == (cols + 1)) {
if ( ! mdoc_vwarn(mdoc, mdoc->last->line,
mdoc->last->pos, "column "
"mismatch: have %d, want %d",