Oops, nearly forgot. Nesting one numbered list inside another should
[sgt/halibut] / keywords.c
index 6e8a230..eef96a6 100644 (file)
@@ -62,8 +62,7 @@ keywordlist *get_keywords(paragraph *source) {
         * This also sets up the `parent', `child' and `sibling'
         * links.
         */
-       source->kwtext = number_mktext(n, source, q, prevpara, &errors);
-       prevpara = source->type;
+       source->kwtext = number_mktext(n, source, q, &prevpara, &errors);
 
        if (p && *p) {
            if (source->kwtext || source->type == para_Biblio) {