X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/c6666257b49db6fafacd3e238ad90baeb79952ad..e5a4a92d5887db0f1c00568a41c411a1556f8774:/mdoc_validate.c diff --git a/mdoc_validate.c b/mdoc_validate.c index 15e10637..797642aa 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.38 2009/07/20 15:05:34 kristaps Exp $ */ +/* $Id: mdoc_validate.c,v 1.39 2009/07/23 08:36:32 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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",