=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/roff_html.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/mandoc/roff_html.c 2017/05/04 22:07:44 1.1 --- src/usr.bin/mandoc/roff_html.c 2017/05/05 02:06:17 1.2 *************** *** 1,4 **** ! /* $OpenBSD: roff_html.c,v 1.1 2017/05/04 22:07:44 schwarze Exp $ */ /* * Copyright (c) 2017 Ingo Schwarze * --- 1,4 ---- ! /* $OpenBSD: roff_html.c,v 1.2 2017/05/05 02:06:17 schwarze Exp $ */ /* * Copyright (c) 2017 Ingo Schwarze * *************** *** 17,22 **** --- 17,23 ---- #include #include + #include #include "roff.h" #include "out.h" *************** *** 30,35 **** --- 31,37 ---- static const roff_html_pre_fp roff_html_pre_acts[ROFF_MAX] = { roff_html_pre_br, /* br */ + NULL, /* ft */ }; *************** *** 37,43 **** roff_html_pre(struct html *h, const struct roff_node *n) { assert(n->tok < ROFF_MAX); ! (*roff_html_pre_acts[n->tok])(h, n); } static void --- 39,46 ---- roff_html_pre(struct html *h, const struct roff_node *n) { assert(n->tok < ROFF_MAX); ! if (roff_html_pre_acts[n->tok] != NULL) ! (*roff_html_pre_acts[n->tok])(h, n); } static void