summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bk_man.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bk_man.c b/bk_man.c
index 1dcce64..21e33f3 100644
--- a/bk_man.c
+++ b/bk_man.c
@@ -205,7 +205,10 @@ void man_backend(paragraph *sourceform, keywordlist *keywords,
else
depth = 0;
if (depth >= conf.mindepth) {
- fprintf(fp, ".SH \"");
+ if (depth > conf.mindepth)
+ fprintf(fp, ".SS \"");
+ else
+ fprintf(fp, ".SH \"");
if (conf.headnumbers && p->kwtext) {
man_text(fp, p->kwtext, FALSE, QUOTE_QUOTES, &conf);
fprintf(fp, " ");