diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-07-07 17:23:26 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-07-07 17:23:26 (GMT) |
commit | bcbf69496a8e7e703ecf4fb6e5de264f86ebea84 (patch) | |
tree | f08f27e02ce20e8ca59117d6d02be98fbe3c8c24 /src/index.cpp | |
parent | 46570cfd109829f87a17c46e32006f901b9026f4 (diff) | |
download | Doxygen-bcbf69496a8e7e703ecf4fb6e5de264f86ebea84.zip Doxygen-bcbf69496a8e7e703ecf4fb6e5de264f86ebea84.tar.gz Doxygen-bcbf69496a8e7e703ecf4fb6e5de264f86ebea84.tar.bz2 |
Release-1.2.16-20020707
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 6 |
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 |