summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-05 15:55:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-05 15:55:01 +0000
commitda864306deafefa98f63fe802fa901c9aec68f65 (patch)
treed2c992b5d14975fd6dd68e2ec32344c1a233d599 /mdoc_validate.c
parent17d87274a35b068e7bf8fa10374f640943cf7bb4 (diff)
downloadmandoc-da864306deafefa98f63fe802fa901c9aec68f65.tar.gz
Remove long-standing FIXME regarding the consolidation of WIDTHARG and
NOARGV warnings. From patch by schwarze@.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index fa9f3e13..c25bbf6d 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -753,9 +753,8 @@ pre_bl(PRE_ARGS)
case (LIST_inset):
/* FALLTHROUGH */
case (LIST_item):
- if (NULL == n->data.Bl->width)
- break;
- mdoc_nmsg(mdoc, n, MANDOCERR_WIDTHARG);
+ if (n->data.Bl->width)
+ mdoc_nmsg(mdoc, n, MANDOCERR_IGNARGV);
break;
default:
break;