summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bk_whlp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bk_whlp.c b/bk_whlp.c
index 6593013..9772021 100644
--- a/bk_whlp.c
+++ b/bk_whlp.c
@@ -312,6 +312,7 @@ void whlp_backend(paragraph *sourceform, keywordlist *keywords,
*/
whlp_begin_topic(h, contents_topic, "Contents", "DB(\"btn_up\")", NULL);
+ state.curr_topic = contents_topic;
/*
* The manual title goes in the non-scroll region, and also
@@ -412,8 +413,6 @@ void whlp_backend(paragraph *sourceform, keywordlist *keywords,
whlp_navmenu(&state, p, &conf);
}
- state.curr_topic = contents_topic;
-
done_contents_topic = TRUE;
}