summaryrefslogtreecommitdiffstats
path: root/src/htmlhelp.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-06-11 19:22:39 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-06-11 19:22:39 (GMT)
commit93737357fcce05f46d2db771293d746ea4b79acc (patch)
treea213e1477917c43abbeeac764fe4d2846e726728 /src/htmlhelp.cpp
parent4bdaaa8da9bee65b5cda2e60a55f95d948feba88 (diff)
downloadDoxygen-93737357fcce05f46d2db771293d746ea4b79acc.zip
Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.tar.gz
Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.tar.bz2
Release-1.1.4-20000611
Diffstat (limited to 'src/htmlhelp.cpp')
-rw-r--r--src/htmlhelp.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp
index 5ff21f2..599e39c 100644
--- a/src/htmlhelp.cpp
+++ b/src/htmlhelp.cpp
@@ -364,9 +364,12 @@ void HtmlHelp::addContentsItem(const char *name,const char *ref,
{
int i; for (i=0;i<dc;i++) cts << " ";
cts << "<LI><OBJECT type=\"text/sitemap\">";
- cts << "<param name=\"Local\" value=\"" << ref << ".html";
- if (anchor) cts << "#" << anchor;
- cts << "\">";
+ if (ref)
+ {
+ cts << "<param name=\"Local\" value=\"" << ref << ".html";
+ if (anchor) cts << "#" << anchor;
+ cts << "\">";
+ }
cts << "<param name=\"Name\" value=\"" << name << "\">"
"</OBJECT>\n";
}