From 305a1c805ebbdca0c2e2de3a301a7f6759d2e200 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 12 Jun 2010 11:58:22 +0000 Subject: `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. --- mdoc_html.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mdoc_html.c') 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 * @@ -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; -- cgit v1.2.3-56-ge451