=================================================================== RCS file: /cvs/mandoc/eqn_term.c,v retrieving revision 1.4 retrieving revision 1.6 diff -u -p -r1.4 -r1.6 --- mandoc/eqn_term.c 2011/07/24 10:09:03 1.4 +++ mandoc/eqn_term.c 2014/08/10 23:54:41 1.6 @@ -1,4 +1,4 @@ -/* $Id: eqn_term.c,v 1.4 2011/07/24 10:09:03 kristaps Exp $ */ +/* $Id: eqn_term.c,v 1.6 2014/08/10 23:54:41 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -14,10 +14,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif +#include + #include #include #include @@ -37,6 +37,7 @@ static const enum termfont fontmap[EQNFONT__MAX] = { static void eqn_box(struct termp *, const struct eqn_box *); + void term_eqn(struct termp *p, const struct eqn *ep) { @@ -68,7 +69,7 @@ eqn_box(struct termp *p, const struct eqn_box *bp) term_word(p, ")"); if (bp->right) term_word(p, bp->right); - if (EQNFONT_NONE != bp->font) + if (EQNFONT_NONE != bp->font) term_fontpop(p); if (bp->next)