summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'action.c')
-rw-r--r--action.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/action.c b/action.c
index f1986718..38ec2dd4 100644
--- a/action.c
+++ b/action.c
@@ -392,10 +392,11 @@ post_bl_width(struct mdoc *mdoc)
* the macro's width as set in share/tmac/mdoc/doc-common.
*/
- if (MDOC_MAX == (tok = mdoc_find(mdoc, *p)))
+ if (xstrcmp(*p, "Ds"))
+ width = 6;
+ else if (MDOC_MAX == (tok = mdoc_find(mdoc, *p)))
return(1);
-
- if (0 == (width = mdoc_macro2len(tok)))
+ else if (0 == (width = mdoc_macro2len(tok)))
return(mdoc_warn(mdoc, WARN_SYNTAX,
"-%s macro has no length",
mdoc_argnames[MDOC_Width]));