summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-13 21:41:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-13 21:41:58 +0000
commita5ee4cae77ce285ed9adf219b368c554a59d1ca8 (patch)
tree54777c01583a68d7a9cc706d77cb406175d90d6b /mdoc_html.c
parent5a0dd4748ed706df837d91eb3c47b30b2e60f77c (diff)
downloadmandoc-a5ee4cae77ce285ed9adf219b368c554a59d1ca8.tar.gz
Switch on cached -width usage in front-ends.
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;
}