summaryrefslogtreecommitdiffstats
path: root/src/htmlhelp.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-06-11 19:22:39 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-06-11 19:22:39 (GMT)
commit975a88d42fb296be726c8063819327a262195bbd (patch)
treea213e1477917c43abbeeac764fe4d2846e726728 /src/htmlhelp.cpp
parent3472b3019d048213d4c6f15e17d40602b8ca6e78 (diff)
downloadDoxygen-975a88d42fb296be726c8063819327a262195bbd.zip
Doxygen-975a88d42fb296be726c8063819327a262195bbd.tar.gz
Doxygen-975a88d42fb296be726c8063819327a262195bbd.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";
}