diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-05-15 18:25:52 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-05-15 18:25:52 +0000 |
commit | a86b8c718ed5aa62b68637b33de2c8db5d4a1f45 (patch) | |
tree | c827618996e0e1b194f73ed930e8aba1b07f54fc /usr.bin/mandoc/mdoc_html.c | |
parent | 48de794fa862d8723903be0660f26607e3b55d13 (diff) |
allow non-numeric manual sections in -mdoc;
while here, allow LIBRARY in section 9;
by kristaps@
Diffstat (limited to 'usr.bin/mandoc/mdoc_html.c')
-rw-r--r-- | usr.bin/mandoc/mdoc_html.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c index 60f1416c8f7..1915d571598 100644 --- a/usr.bin/mandoc/mdoc_html.c +++ b/usr.bin/mandoc/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.14 2010/05/14 19:52:43 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.15 2010/05/15 18:25:51 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -383,7 +383,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, " ("); @@ -505,7 +505,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. */ |