Fix bug #21339 with help unit menu entry links

This commit is contained in:
David Mikos 2013-12-28 15:25:09 +10:30
parent e211f77414
commit d874f57aaa
2 changed files with 2 additions and 2 deletions

View File

@ -121,6 +121,7 @@ Version 1.11.7+dev:
names such as "#foo.map".
* Fixed bug with modifications dependency check dialogs (bug #21365)
* Fixed bug with scrollbar overlaying mp description text (bug #21364)
* Fixed bug with help units not making links (bug #21339)
Version 1.11.7:
* Add-ons client:

View File

@ -2112,7 +2112,7 @@ std::string generate_contents_links(const section &sec, const std::vector<topic>
section_list::const_iterator s;
for (s = sec.sections.begin(); s != sec.sections.end(); ++s) {
if (is_visible_id((*s)->id)) {
std::string link = make_link((*s)->title, (*s)->id);
std::string link = make_link((*s)->title, ".."+(*s)->id);
res << link << "\n";
}
}
@ -2124,7 +2124,6 @@ std::string generate_contents_links(const section &sec, const std::vector<topic>
res << link << "\n";
}
}
return res.str();
}