summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man_html.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/man_html.c b/man_html.c
index 02031e20..2d69f100 100644
--- a/man_html.c
+++ b/man_html.c
@@ -227,10 +227,17 @@ print_man_node(MAN_ARGS)
bufinit(h);
- if (MAN_ROOT == n->type)
+ switch (n->type) {
+ case (MAN_ROOT):
man_root_post(m, n, mh, h);
- else if (mans[n->tok].post)
- (*mans[n->tok].post)(m, n, mh, h);
+ break;
+ case (MAN_TBL):
+ break;
+ default:
+ if (mans[n->tok].post)
+ (*mans[n->tok].post)(m, n, mh, h);
+ break;
+ }
}