diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-12-31 18:47:52 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-12-31 18:47:52 +0000 |
commit | bf6e3f75fa4e2decf43c5157cdb9d823d482de85 (patch) | |
tree | af2589ebecde6c9ae256276a3b0ffa6850607b12 /apropos.c | |
parent | 9ce737999e4dfba3414d61dcd62441d7eb9b21cd (diff) | |
download | mandoc-bf6e3f75fa4e2decf43c5157cdb9d823d482de85.tar.gz |
When parsing catpages, read from the first section (NAME, we hope) until
the next section. Also, remove the limit of 72 characters and enforce
this, instead in the apropos frontend.
Diffstat (limited to 'apropos.c')
-rw-r--r-- | apropos.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ list(struct res *res, size_t sz, void *arg) qsort(res, sz, sizeof(struct res), cmp); for (i = 0; i < (int)sz; i++) - printf("%s(%s%s%s) - %s\n", res[i].title, + printf("%s(%s%s%s) - %.70s\n", res[i].title, res[i].cat, *res[i].arch ? "/" : "", *res[i].arch ? res[i].arch : "", |