=================================================================== RCS file: /cvs/mandoc/mdoc_html.c,v retrieving revision 1.62 retrieving revision 1.63 diff -u -p -r1.62 -r1.63 --- mandoc/mdoc_html.c 2010/05/13 06:22:11 1.62 +++ mandoc/mdoc_html.c 2010/05/15 16:24:38 1.63 @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.62 2010/05/13 06:22:11 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.63 2010/05/15 16:24:38 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -387,7 +387,7 @@ print_mdoc_head(MDOC_ARGS) print_gen_head(h); bufinit(h); - buffmt(h, "%s(%d)", m->title, m->msec); + buffmt(h, "%s(%s)", m->title, m->msec); if (m->arch) { bufcat(h, " ("); @@ -509,7 +509,7 @@ mdoc_root_pre(MDOC_ARGS) } (void)snprintf(title, BUFSIZ - 1, - "%s(%d)", m->title, m->msec); + "%s(%s)", m->title, m->msec); /* XXX: see note in mdoc_root_post() about divs. */