diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-05-24 12:33:07 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-05-24 12:33:07 +0000 |
commit | dd42fa345925d50f85acaae84e28ac464944439e (patch) | |
tree | 658956d97ac85117bb8baf13d0ad1148b8dfdd23 /usr.bin/mandoc/mdoc_html.c | |
parent | f770f48daa13e70b6924f881733b0fe7819fd926 (diff) |
Fix segfault in mixing old enum types for -Thtml -mdoc; from kristaps@.
Diffstat (limited to 'usr.bin/mandoc/mdoc_html.c')
-rw-r--r-- | usr.bin/mandoc/mdoc_html.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c index 22d582d0c01..658dfbf2c96 100644 --- a/usr.bin/mandoc/mdoc_html.c +++ b/usr.bin/mandoc/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.18 2010/05/24 00:00:10 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.19 2010/05/24 12:33:06 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -1076,7 +1076,7 @@ mdoc_bl_pre(MDOC_ARGS) return(0); if (MDOC_BLOCK != n->type) return(1); - if (MDOC_Enum != n->data.list) + if (LIST_enum != n->data.list) return(1); ord = malloc(sizeof(struct ord)); @@ -1100,7 +1100,7 @@ mdoc_bl_post(MDOC_ARGS) if (MDOC_BLOCK != n->type) return; - if (MDOC_Enum != n->data.list) + if (LIST_enum != n->data.list) return; ord = h->ords.head; |