aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit56db51154e503662dc8c9cfed83c0bc0172a3f82 (patch)
tree95b7ad594c05dbe72ec6e2c2cec8bbbc787bcb47 /man_html.c
parent8a1e7c36cb8b9ca64c677d1ff9d786c9e46fd7b0 (diff)
downloadmandoc-56db51154e503662dc8c9cfed83c0bc0172a3f82.tar.gz
mandoc-56db51154e503662dc8c9cfed83c0bc0172a3f82.tar.zst
mandoc-56db51154e503662dc8c9cfed83c0bc0172a3f82.zip
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/man_html.c b/man_html.c
index 7533e979..51de28fd 100644
--- a/man_html.c
+++ b/man_html.c
@@ -1,4 +1,4 @@
-/* $Id: man_html.c,v 1.114 2015/04/02 22:48:17 schwarze Exp $ */
+/* $Id: man_html.c,v 1.115 2015/04/02 23:48:19 schwarze Exp $ */
/*
* Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -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);
}