X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/7c570bf386b055563f689fb3c424af29227db8e6..ba0fe3ecfe639410b68c2115d67fe486ffbbe9b6:/bk_whlp.c diff --git a/bk_whlp.c b/bk_whlp.c index 1e1ae31..9772021 100644 --- a/bk_whlp.c +++ b/bk_whlp.c @@ -258,7 +258,7 @@ void whlp_backend(paragraph *sourceform, keywordlist *keywords, if (ie_prev) { /* * It appears that Windows Help's index mechanism - * is inherently case-sensitive. Therefore, if two + * is inherently case-insensitive. Therefore, if two * adjacent index terms compare equal apart from * case, I'm going to append nonbreaking spaces to * the end of the second one so that Windows will @@ -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; }