summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 9a183dd0..82efaa92 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1058,15 +1058,15 @@ mdoc_it_pre(MDOC_ARGS)
break;
}
+ if (bl->data.Bl.width)
+ a2width(bl->data.Bl.width, &width);
+
wp = -1;
for (i = 0; bl->args && i < (int)bl->args->argc; i++)
switch (bl->args->argv[i].arg) {
case (MDOC_Column):
wp = i; /* Save for later. */
break;
- case (MDOC_Width):
- a2width(bl->args->argv[i].value[0], &width);
- break;
default:
break;
}