summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mandoc/roff_html.c
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@fingolfin.org>2021-09-19 15:33:09 -0700
committerRobert Mustacchi <rm@fingolfin.org>2022-01-05 17:44:35 +0000
commit4d131170e62381276a07ffc0aeb1b62e527d940c (patch)
tree372e6149d42aaa6f1c380866e02ee7ee085a414d /usr/src/cmd/mandoc/roff_html.c
parenta8f22b53d198f9565c2921ca50c571579c4ea52f (diff)
downloadillumos-joyent-4d131170e62381276a07ffc0aeb1b62e527d940c.tar.gz
14111 Update mandoc to 1.14.6
Reviewed by: Yuri Pankov <ypankov@tintri.com> Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/mandoc/roff_html.c')
-rw-r--r--usr/src/cmd/mandoc/roff_html.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/cmd/mandoc/roff_html.c b/usr/src/cmd/mandoc/roff_html.c
index 02b8beea3b..3cc7c19a8a 100644
--- a/usr/src/cmd/mandoc/roff_html.c
+++ b/usr/src/cmd/mandoc/roff_html.c
@@ -1,4 +1,4 @@
-/* $Id: roff_html.c,v 1.19 2019/01/07 07:26:29 schwarze Exp $ */
+/* $Id: roff_html.c,v 1.21 2020/06/22 19:20:40 schwarze Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2017, 2018, 2019 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,6 +15,8 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include <sys/types.h>
#include <assert.h>
@@ -94,7 +96,7 @@ roff_html_pre_ft(ROFF_HTML_ARGS)
const char *cp;
cp = n->child->string;
- print_metaf(h, mandoc_font(cp, (int)strlen(cp)));
+ html_setfont(h, mandoc_font(cp, (int)strlen(cp)));
}
static void