diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-01 18:08:50 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-01 18:08:50 (GMT) |
commit | ecb8f53e30524a6eca3c28db4d1a1d708a5a0976 (patch) | |
tree | dd7f0f7dd0875046b1426a541b00547a8af08af1 /src/htmlhelp.cpp | |
parent | 7703ff62ed5e27d32af03d4a613f16e8a3320eb1 (diff) | |
download | Doxygen-ecb8f53e30524a6eca3c28db4d1a1d708a5a0976.zip Doxygen-ecb8f53e30524a6eca3c28db4d1a1d708a5a0976.tar.gz Doxygen-ecb8f53e30524a6eca3c28db4d1a1d708a5a0976.tar.bz2 |
Release-1.2.9
Diffstat (limited to 'src/htmlhelp.cpp')
-rw-r--r-- | src/htmlhelp.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp index 482b53a..e024585 100644 --- a/src/htmlhelp.cpp +++ b/src/htmlhelp.cpp @@ -231,7 +231,7 @@ HtmlHelp *HtmlHelp::theInstance = 0; * The object has to be \link initialize() initialized\endlink before it can * be used. */ -HtmlHelp::HtmlHelp() +HtmlHelp::HtmlHelp() : indexFileDict(1009) { /* initial depth */ dc = 0; @@ -330,7 +330,7 @@ void HtmlHelp::createProjectFile() while (s) { t << s << endl; - s=indexFiles.next(); + s = indexFiles.next(); } f.close(); } @@ -342,7 +342,11 @@ void HtmlHelp::createProjectFile() void HtmlHelp::addIndexFile(const char *s) { - indexFiles.append(s); + if (indexFileDict.find(s)==0) + { + indexFiles.append(s); + indexFileDict.insert(s,(void *)0x8); + } } /*! Finalizes the HTML help. This will finish and close the |