diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-13 21:41:58 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-13 21:41:58 +0000 |
commit | a5ee4cae77ce285ed9adf219b368c554a59d1ca8 (patch) | |
tree | 54777c01583a68d7a9cc706d77cb406175d90d6b /mdoc_html.c | |
parent | 5a0dd4748ed706df837d91eb3c47b30b2e60f77c (diff) | |
download | mandoc-a5ee4cae77ce285ed9adf219b368c554a59d1ca8.tar.gz |
Switch on cached -width usage in front-ends.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 6 |
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; } |