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, 2 insertions, 4 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index cd0c5f54..98358c04 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1036,6 +1036,7 @@ mdoc_it_pre(MDOC_ARGS)
bl = bl->parent;
type = bl->data.Bl.type;
+ comp = bl->data.Bl.comp;
/* Set default width and offset. */
@@ -1059,7 +1060,7 @@ mdoc_it_pre(MDOC_ARGS)
/* Get width, offset, and compact arguments. */
wp = -1;
- for (comp = i = 0; bl->args && i < (int)bl->args->argc; i++)
+ 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. */
@@ -1070,9 +1071,6 @@ mdoc_it_pre(MDOC_ARGS)
case (MDOC_Offset):
a2offs(bl->args->argv[i].value[0], &offs);
break;
- case (MDOC_Compact):
- comp = 1;
- break;
default:
break;
}