summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-07-07 17:23:26 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-07-07 17:23:26 (GMT)
commit457ca5c291eddeb1a4cd667e20cd8d7dfc1d7f2e (patch)
treef08f27e02ce20e8ca59117d6d02be98fbe3c8c24 /src/index.cpp
parent977ad9d3ec7dff388b8be849ae4a596ae5cd3ad4 (diff)
downloadDoxygen-457ca5c291eddeb1a4cd667e20cd8d7dfc1d7f2e.zip
Doxygen-457ca5c291eddeb1a4cd667e20cd8d7dfc1d7f2e.tar.gz
Doxygen-457ca5c291eddeb1a4cd667e20cd8d7dfc1d7f2e.tar.bz2
Release-1.2.16-20020707
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/index.cpp b/src/index.cpp
index a9c52de..cd93267 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -930,7 +930,11 @@ void writeFileIndex(OutputList &ol)
path=stripFromPath(fd->getPath().copy());
}
QCString fullName=fd->name();
- if (!path.isEmpty()) fullName.prepend(path+"/");
+ if (!path.isEmpty())
+ {
+ if (path.at(path.length()-1)!='/') fullName.prepend("/");
+ fullName.prepend(path);
+ }
// --------------- LaTeX/RTF only -------------------------
#if 0