summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-12 11:58:22 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-12 11:58:22 +0000
commit9182860daa80b4a3002521ca4fdbd780d009b616 (patch)
tree1b81397d2d235aab70575465e1b8dd9152d84674 /mdoc_html.c
parent16173bda3531a2bb54b45b2e327c8b7e2cf37fd6 (diff)
downloadmandoc-9182860daa80b4a3002521ca4fdbd780d009b616.tar.gz
`Bl' is now using a struct instead of a single enum mdoc_list for its
cached values. You can probably guess where this is going.
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 04a313b1..cd0c5f54 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1035,7 +1035,7 @@ mdoc_it_pre(MDOC_ARGS)
if (MDOC_BLOCK != n->type)
bl = bl->parent;
- type = bl->data.list;
+ type = bl->data.Bl.type;
/* Set default width and offset. */
@@ -1123,7 +1123,7 @@ mdoc_bl_pre(MDOC_ARGS)
return(0);
if (MDOC_BLOCK != n->type)
return(1);
- if (LIST_enum != n->data.list)
+ if (LIST_enum != n->data.Bl.type)
return(1);
ord = malloc(sizeof(struct ord));
@@ -1147,7 +1147,7 @@ mdoc_bl_post(MDOC_ARGS)
if (MDOC_BLOCK != n->type)
return;
- if (LIST_enum != n->data.list)
+ if (LIST_enum != n->data.Bl.type)
return;
ord = h->ords.head;