diff options
Diffstat (limited to 'src/filename.cpp')
-rw-r--r-- | src/filename.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filename.cpp b/src/filename.cpp index ed662f0..7a8cdf8 100644 --- a/src/filename.cpp +++ b/src/filename.cpp @@ -41,7 +41,7 @@ void FileName::generateDiskNames() // skip references while (fd && fd->isReference()) fd=next(); // name if unique, so diskname is simply the name - fd->diskname=convertFileName(name); + fd->diskname=name.copy(); } else if (count>1) // multiple occurrences of the same file name { @@ -83,7 +83,7 @@ void FileName::generateDiskNames() { QCString prefix = fd->path.right(fd->path.length()-j-1); fd->setName(prefix+name); - fd->diskname=convertFileName(prefix+name); + fd->diskname=prefix+name; } fd=next(); } @@ -126,7 +126,7 @@ int FileNameList::compareItems(GCI item1, GCI item2) FileName *f2=(FileName *)item2; //printf("FileNameList::compareItems `%s'<->`%s'\n", // f1->fileName(),f2->fileName()); - return Config::instance()->getBool("FULL_PATH_NAMES") ? + return Config_getBool("FULL_PATH_NAMES") ? stricmp(f1->fullName(),f2->fullName()) : stricmp(f1->fileName(),f2->fileName()); } |