summaryrefslogtreecommitdiffstats
path: root/src/searchindex.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-09-27 19:20:12 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-09-27 19:20:12 (GMT)
commit22dc10cfbe5042f21b9d706e5e8bb41749f65786 (patch)
tree5485e95b8a8a758f2d0d0a39e611d4d9b1ad519b /src/searchindex.cpp
parentdb36de70fc9090e26c22ab288492407becb3a95e (diff)
downloadDoxygen-22dc10cfbe5042f21b9d706e5e8bb41749f65786.zip
Doxygen-22dc10cfbe5042f21b9d706e5e8bb41749f65786.tar.gz
Doxygen-22dc10cfbe5042f21b9d706e5e8bb41749f65786.tar.bz2
Release-1.4.4-20050927
Diffstat (limited to 'src/searchindex.cpp')
-rw-r--r--src/searchindex.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/searchindex.cpp b/src/searchindex.cpp
index 0a9e9c5..02671e6 100644
--- a/src/searchindex.cpp
+++ b/src/searchindex.cpp
@@ -70,6 +70,7 @@ SearchIndex::SearchIndex() : m_words(328829), m_index(numIndexEntries), m_urlInd
void SearchIndex::setCurrentDoc(const char *name,const char *baseName,const char *anchor)
{
+ if (name==0 || baseName==0) return;
//printf("SearchIndex::setCurrentDoc(%s,%s,%s)\n",name,baseName,anchor);
QCString url=baseName+Config_getString("HTML_FILE_EXTENSION");
if (anchor) url+=(QCString)"#"+anchor;