=================================================================== RCS file: /cvs/mandoc/man_html.c,v retrieving revision 1.30 retrieving revision 1.32 diff -u -p -r1.30 -r1.32 --- mandoc/man_html.c 2010/03/24 20:10:53 1.30 +++ mandoc/man_html.c 2010/05/15 20:51:40 1.32 @@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.30 2010/03/24 20:10:53 kristaps Exp $ */ +/* $Id: man_html.c,v 1.32 2010/05/15 20:51:40 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -110,7 +110,6 @@ static const struct htmlman mans[MAN_MAX] = { { man_ign_pre, NULL }, /* dei */ { man_ign_pre, NULL }, /* am */ { man_ign_pre, NULL }, /* ami */ - { man_ign_pre, NULL }, /* ig */ { NULL, NULL }, /* . */ }; @@ -162,7 +161,7 @@ print_man_head(MAN_ARGS) print_gen_head(h); bufinit(h); - buffmt(h, "%s(%d)", m->title, m->msec); + buffmt(h, "%s(%s)", m->title, m->msec); print_otag(h, TAG_TITLE, 0, NULL); print_text(h, h->buf); @@ -267,7 +266,7 @@ man_root_pre(MAN_ARGS) if (m->vol) (void)strlcat(b, m->vol, BUFSIZ); - snprintf(title, BUFSIZ - 1, "%s(%d)", m->title, m->msec); + snprintf(title, BUFSIZ - 1, "%s(%s)", m->title, m->msec); PAIR_CLASS_INIT(&tag[0], "header"); bufcat_style(h, "width", "100%");