summaryrefslogtreecommitdiffstats
path: root/src/filename.cpp
diff options
context:
space:
mode:
authormueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:37:58 (GMT)
committermueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:37:58 (GMT)
commit5576fbf6d0a8baa16fa65a37a172543397ee950a (patch)
treeb859924ab8503fed25bbfbc7ea96b72b9dee34b0 /src/filename.cpp
parentd4bdeb54df648007d9a2b4a9ec5c2ef3b84f1a3b (diff)
downloadDoxygen-5576fbf6d0a8baa16fa65a37a172543397ee950a.zip
Doxygen-5576fbf6d0a8baa16fa65a37a172543397ee950a.tar.gz
Doxygen-5576fbf6d0a8baa16fa65a37a172543397ee950a.tar.bz2
mods for doxygen-0.49-991106
Diffstat (limited to 'src/filename.cpp')
-rw-r--r--src/filename.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/filename.cpp b/src/filename.cpp
index a345969..cc5021c 100644
--- a/src/filename.cpp
+++ b/src/filename.cpp
@@ -17,8 +17,9 @@
#include "filename.h"
#include "util.h"
-FileName::FileName(const char *n) : QList<FileDef>()
+FileName::FileName(const char *fn,const char *n) : FileList()
{
+ fName=fn;
name=n;
}
@@ -124,7 +125,11 @@ int FileNameList::compareItems(GCI item1, GCI item2)
{
FileName *f1=(FileName *)item1;
FileName *f2=(FileName *)item2;
- return stricmp(f1->fileName(),f2->fileName());
+ //printf("FileNameList::compareItems `%s'<->`%s'\n",
+ // f1->fileName(),f2->fileName());
+ return Config::fullPathNameFlag ?
+ stricmp(f1->fullName(),f2->fullName()) :
+ stricmp(f1->fileName(),f2->fileName());
}
FileNameListIterator::FileNameListIterator(const FileNameList &fnlist) :