From 29cecee7ff6894517a32d929aecee283bb85058c Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 20 Apr 2014 16:46:04 +0000 Subject: KNF: case (FOO): -> case FOO:, remove /* LINTED */ and /* ARGSUSED */, remove trailing whitespace and blanks before tabs, improve some indenting; no functional change --- eqn_html.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'eqn_html.c') diff --git a/eqn_html.c b/eqn_html.c index 80c82f1d..3e58ab58 100644 --- a/eqn_html.c +++ b/eqn_html.c @@ -1,4 +1,4 @@ -/* $Id: eqn_html.c,v 1.2 2011/07/24 10:09:03 kristaps Exp $ */ +/* $Id: eqn_html.c,v 1.3 2014/04/20 16:46:04 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -35,9 +35,9 @@ static const enum htmltag fontmap[EQNFONT__MAX] = { TAG_I /* EQNFONT_ITALIC */ }; - static void eqn_box(struct html *, const struct eqn_box *); + void print_eqn(struct html *p, const struct eqn *ep) { @@ -59,12 +59,12 @@ eqn_box(struct html *p, const struct eqn_box *bp) { struct tag *t; - t = EQNFONT_NONE == bp->font ? NULL : - print_otag(p, fontmap[(int)bp->font], 0, NULL); + t = EQNFONT_NONE == bp->font ? NULL : + print_otag(p, fontmap[(int)bp->font], 0, NULL); if (bp->left) print_text(p, bp->left); - + if (bp->text) print_text(p, bp->text); -- cgit v1.2.3-56-ge451