diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-04 21:04:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 21:04:13 (GMT) |
commit | e98a4e069bdcd545132961116e42607fb59176ad (patch) | |
tree | 1e0d731e8a5747c9fb8add93814a3849a3fc8801 | |
parent | 2128b9df599a7025d824b2f240ba78358f47d050 (diff) | |
parent | c39a117161c7977fa6b27be3f1e5696f2f6f35e9 (diff) | |
download | Doxygen-e98a4e069bdcd545132961116e42607fb59176ad.zip Doxygen-e98a4e069bdcd545132961116e42607fb59176ad.tar.gz Doxygen-e98a4e069bdcd545132961116e42607fb59176ad.tar.bz2 |
Merge pull request #8410 from albert-github/feature/bug_chm
Problems generating chm documentation
-rw-r--r-- | src/htmlhelp.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp index 3d88e4f..d34c8d3 100644 --- a/src/htmlhelp.cpp +++ b/src/htmlhelp.cpp @@ -161,7 +161,15 @@ void HtmlHelpIndex::addItem(const char *level1,const char *level2, { return; } - std::string key_anchor = key+anchor; + std::string key_anchor; + if (anchor) + { + key_anchor = key+anchor; + } + else + { + key_anchor = key; + } m_map.add(key_anchor.c_str(),key.c_str(),url,anchor,hasLink,reversed); } |