diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-15 15:54:39 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-15 15:54:39 +0000 |
commit | 23ae8ccb1b52134baac639bb4490d75fd11c858e (patch) | |
tree | 4072aac4dd10080d6a9f7726e2509ab0047eafcf /man_term.c | |
parent | fcd36c026ba83fae0d9c59ba6543c993fac6c187 (diff) | |
download | mandoc-23ae8ccb1b52134baac639bb4490d75fd11c858e.tar.gz mandoc-23ae8ccb1b52134baac639bb4490d75fd11c858e.tar.zst mandoc-23ae8ccb1b52134baac639bb4490d75fd11c858e.zip |
Removed restriction on integer manual sections in -man.
Diffstat (limited to 'man_term.c')
-rw-r--r-- | man_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.63 2010/05/12 16:46:28 kristaps Exp $ */ +/* $Id: man_term.c,v 1.64 2010/05/15 15:54:39 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -911,7 +911,7 @@ print_man_head(struct termp *p, const struct man_meta *m) strlcpy(buf, m->vol, BUFSIZ); buflen = strlen(buf); - snprintf(title, BUFSIZ, "%s(%d)", m->title, m->msec); + snprintf(title, BUFSIZ, "%s(%s)", m->title, m->msec); titlen = strlen(title); p->offset = 0; |