diff options
author | mueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7> | 1999-12-15 19:39:36 (GMT) |
---|---|---|
committer | mueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7> | 1999-12-15 19:39:36 (GMT) |
commit | 74cc4d70240d09e10c9da94c0537670fc287a85e (patch) | |
tree | 46bbaf2d590cf1e2edf1bc86a8d7000a2012dc0d /src/filename.cpp | |
parent | 5576fbf6d0a8baa16fa65a37a172543397ee950a (diff) | |
download | Doxygen-74cc4d70240d09e10c9da94c0537670fc287a85e.zip Doxygen-74cc4d70240d09e10c9da94c0537670fc287a85e.tar.gz Doxygen-74cc4d70240d09e10c9da94c0537670fc287a85e.tar.bz2 |
mods for doxygen-0.49-991117
Diffstat (limited to 'src/filename.cpp')
-rw-r--r-- | src/filename.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/filename.cpp b/src/filename.cpp index cc5021c..6ccdb63 100644 --- a/src/filename.cpp +++ b/src/filename.cpp @@ -60,6 +60,7 @@ void FileName::generateDiskNames() while (fd && fd->isReference()) fd=next(); char c=fd->path.at(i); if (c=='/') j=i; // remember last position of dirname + fd=next(); while (fd && !found) { if (!fd->isReference()) @@ -67,8 +68,8 @@ void FileName::generateDiskNames() //printf("i=%d fd->path=`%s' fd->name=`%s'\n",i,fd->path.data(),fd->name().data()); if (i==(int)fd->path.length()) { - warning("Warning: Input file %s found multiple times!\n" - " The generated documentation for this file may not be correct!\n",fd->absFilePath().data()); + //warning("Warning: Input file %s found multiple times!\n" + // " The generated documentation for this file may not be correct!\n",fd->absFilePath().data()); found=TRUE; } else if (fd->path[i]!=c) @@ -84,8 +85,11 @@ void FileName::generateDiskNames() while (fd) { //printf("fd->setName(%s)\n",(fd->path.right(fd->path.length()-j-1)+name).data()); - fd->setName(fd->path.right(fd->path.length()-j-1)+name); - fd->diskname=convertSlashes(fd->name()); + if (!fd->isReference()) + { + fd->setName(fd->path.right(fd->path.length()-j-1)+name); + fd->diskname=convertSlashes(fd->name()); + } fd=next(); } } |