summaryrefslogtreecommitdiff
path: root/keywords.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-03-23 20:19:01 +0000
committerSimon Tatham <anakin@pobox.com>2004-03-23 20:19:01 +0000
commitc2dc0207e325bd3e15929bcf0397e92d5fe33bba (patch)
treec65c9e60ea46a9bfb7d7595df7b3e7eb6175cecb /keywords.c
parent6cba4fa3f6c02db9994d6b6234f2ae5007839a5d (diff)
downloadhalibut-c2dc0207e325bd3e15929bcf0397e92d5fe33bba.zip
halibut-c2dc0207e325bd3e15929bcf0397e92d5fe33bba.tar.gz
halibut-c2dc0207e325bd3e15929bcf0397e92d5fe33bba.tar.bz2
halibut-c2dc0207e325bd3e15929bcf0397e92d5fe33bba.tar.xz
Oops, nearly forgot. Nesting one numbered list inside another should
not break the numbering of the outer one! [originally from svn r3955]
Diffstat (limited to 'keywords.c')
-rw-r--r--keywords.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/keywords.c b/keywords.c
index 6e8a230..eef96a6 100644
--- a/keywords.c
+++ b/keywords.c
@@ -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) {