diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-04-02 23:47:44 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-04-02 23:47:44 +0000 |
commit | 322b49567162a0050aa28c9d42e290e5f3ea42f2 (patch) | |
tree | c1dbf9a87f40773dea4dbd9a524a82a0f138efb2 /usr.bin/mandoc/man_html.c | |
parent | a72d3ef4c8aaac0427a474cdc09b14f01954ef18 (diff) |
Third step towards parser unification:
Replace struct mdoc_meta and struct man_meta by a unified struct roff_meta.
Written of the train from London to Exeter on the way to p2k15.
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
-rw-r--r-- | usr.bin/mandoc/man_html.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mandoc/man_html.c b/usr.bin/mandoc/man_html.c index 68d61825e03..a476cf8153d 100644 --- a/usr.bin/mandoc/man_html.c +++ b/usr.bin/mandoc/man_html.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man_html.c,v 1.67 2015/04/02 22:06:17 schwarze Exp $ */ +/* $OpenBSD: man_html.c,v 1.68 2015/04/02 23:47:43 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -35,7 +35,7 @@ #define INDENT 5 -#define MAN_ARGS const struct man_meta *man, \ +#define MAN_ARGS const struct roff_meta *man, \ const struct roff_node *n, \ struct mhtml *mh, \ struct html *h @@ -346,8 +346,8 @@ man_root_post(MAN_ARGS) PAIR_CLASS_INIT(&tag, "foot-os"); print_otag(h, TAG_TD, 1, &tag); - if (man->source) - print_text(h, man->source); + if (man->os) + print_text(h, man->os); print_tagq(h, t); } |