summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-02 23:48:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-02 23:48:19 +0000
commit7355c805552e6fc47e10d976711b6169f0f3c0e0 (patch)
tree8ad95f5fc9d0dbda235694991290ea83f7484abe /man_html.c
parent9e6e3b6be0e9ffe29cf4876ce0b7ded2c3c386b9 (diff)
downloadmandoc-7355c805552e6fc47e10d976711b6169f0f3c0e0.tar.gz
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 'man_html.c')
-rw-r--r--man_html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/man_html.c b/man_html.c
index 72be19bc..b1dc315d 100644
--- a/man_html.c
+++ b/man_html.c
@@ -37,7 +37,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
@@ -348,8 +348,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);
}