diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-15 16:24:37 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-15 16:24:37 +0000 |
commit | 2f01ab1363bf6ab718b3fb6370fc6735e3e8bc02 (patch) | |
tree | c8023c62b35846d97b0c170d0fc13e02159140a7 /mdoc_term.c | |
parent | 6e9d908aceac4cb4aaf9a8d2bdeab9efea064b7b (diff) | |
download | mandoc-2f01ab1363bf6ab718b3fb6370fc6735e3e8bc02.tar.gz |
LIBRARY can also occur in section 9.
All manual sections (unknown, 3p, 3f, etc.) correctly handled by -mdoc.
Useful warning printed if unknown manual section.
Checking for manual sections (e.g., LIBRARY) checks only first character, so 3p, 3f, etc. are free.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 5cbcef77..fe43bd58 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -425,7 +425,7 @@ print_mdoc_head(DECL_ARGS) strlcat(buf, ")", BUFSIZ); } - snprintf(title, BUFSIZ, "%s(%d)", m->title, m->msec); + snprintf(title, BUFSIZ, "%s(%s)", m->title, m->msec); p->offset = 0; p->rmargin = (p->maxrmargin - strlen(buf) + 1) / 2; |