The heading depth of a para_Subsect is p->aux+1, not p->aux+2.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 18 May 2005 12:09:06 +0000 (12:09 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 18 May 2005 12:09:06 +0000 (12:09 +0000)
Spotted (indirectly) by Damien Miller.

git-svn-id: svn://svn.tartarus.org/sgt/halibut@5802 cda61777-01e9-0310-a592-d414129be87e

bk_man.c

index bf78905..eaf74b5 100644 (file)
--- a/bk_man.c
+++ b/bk_man.c
@@ -199,7 +199,7 @@ void man_backend(paragraph *sourceform, keywordlist *keywords,
        {
            int depth;
            if (p->type == para_Subsect)
-               depth = p->aux + 2;
+               depth = p->aux + 1;
            else if (p->type == para_Heading)
                depth = 1;
            else