diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-02-25 17:49:47 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-02-25 17:49:47 (GMT) |
commit | 69fbf29b9b2be1bdf9132adb799f31ab343a642e (patch) | |
tree | 0673a1c66696ceb0da0191a0e834b85eef8c50a2 /src/htmlhelp.cpp | |
parent | 863353b89b228b87789e6d6c9257605acd796fff (diff) | |
download | Doxygen-69fbf29b9b2be1bdf9132adb799f31ab343a642e.zip Doxygen-69fbf29b9b2be1bdf9132adb799f31ab343a642e.tar.gz Doxygen-69fbf29b9b2be1bdf9132adb799f31ab343a642e.tar.bz2 |
Release-1.2.5-20010225
Diffstat (limited to 'src/htmlhelp.cpp')
-rw-r--r-- | src/htmlhelp.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp index e3c2608..5d8936e 100644 --- a/src/htmlhelp.cpp +++ b/src/htmlhelp.cpp @@ -305,8 +305,8 @@ void HtmlHelp::createProjectFile() "Contents file=index.hhc\n" "Default Window=main\n" "Default topic=" << indexName << "\n" - "Index file=index.hhk\n" - "Binary TOC=YES\n"; + "Index file=index.hhk\n"; + if (Config::htmlHelpTocFlag) t << "Binary TOC=YES\n"; if (Config::htmlHelpChiFlag) t << "Create CHI file=YES\n"; t << "Title=" << Config::projectName << endl << endl; @@ -388,6 +388,13 @@ void HtmlHelp::addContentsItem(bool isDir, const char *name,const char *ref, const char *anchor) { + // If we're using a binary toc then folders cannot have links. + if(Config::htmlHelpTocFlag && isDir) + { + ref = 0; + anchor = 0; + } + int i; for (i=0;i<dc;i++) cts << " "; cts << "<LI><OBJECT type=\"text/sitemap\">"; cts << "<param name=\"Name\" value=\"" << name << "\">"; |