mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 08:26:28 +00:00
Fix bug #21339 with help unit menu entry links
This commit is contained in:
parent
e211f77414
commit
d874f57aaa
@ -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:
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user