summaryrefslogtreecommitdiffstatshomepage
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
commit305a1c805ebbdca0c2e2de3a301a7f6759d2e200 (patch)
treea2ceb4a968963c27576e246394c6c007722311cf /mdoc_html.c
parent9e1c8c4504be3ee8555871134f21b59fba7bd8ac (diff)
downloadmandoc-305a1c805ebbdca0c2e2de3a301a7f6759d2e200.tar.gz
mandoc-305a1c805ebbdca0c2e2de3a301a7f6759d2e200.tar.zst
mandoc-305a1c805ebbdca0c2e2de3a301a7f6759d2e200.zip
`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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 302cecb8..e4337efb 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.80 2010/06/12 11:21:44 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.81 2010/06/12 11:58:22 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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;