diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-22 10:35:33 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-22 10:35:33 +0000 |
commit | b93e9fe5a3bce43038ea972455739a6671370fc3 (patch) | |
tree | a554e042c45c79d7212d050f0a446653d7304c82 | |
parent | 5af704423559da69a8844d03da6fba24e226e465 (diff) | |
download | mandoc-b93e9fe5a3bce43038ea972455739a6671370fc3.tar.gz mandoc-b93e9fe5a3bce43038ea972455739a6671370fc3.tar.zst mandoc-b93e9fe5a3bce43038ea972455739a6671370fc3.zip |
Fix adding -centred to `Bd' types (thanks to Joerg Sonnenberger).
-rw-r--r-- | mdoc_validate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index 779b71cb..77cdd396 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.48 2009/10/19 09:40:23 kristaps Exp $ */ +/* $Id: mdoc_validate.c,v 1.49 2009/10/22 10:35:33 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -696,6 +696,8 @@ pre_bd(PRE_ARGS) for (i = 0, err = type = 0; ! err && i < (int)n->args->argc; i++) switch (n->args->argv[i].arg) { + case (MDOC_Centred): + /* FALLTHROUGH */ case (MDOC_Ragged): /* FALLTHROUGH */ case (MDOC_Unfilled): |