diff options
author | Travis Howell | 2006-03-25 10:39:05 +0000 |
---|---|---|
committer | Travis Howell | 2006-03-25 10:39:05 +0000 |
commit | a98aea6efd08840fed7fc2bd2e5d2826eb5e4897 (patch) | |
tree | 557d59963a3bac53b839f5505a11fe190514eea9 /common | |
parent | 737c52590b3ae1d19a1fc193f143e58dea670886 (diff) | |
download | scummvm-rg350-a98aea6efd08840fed7fc2bd2e5d2826eb5e4897.tar.gz scummvm-rg350-a98aea6efd08840fed7fc2bd2e5d2826eb5e4897.tar.bz2 scummvm-rg350-a98aea6efd08840fed7fc2bd2e5d2826eb5e4897.zip |
Add kListAllNoRoot type to listDir() to handle recent file class changes, on file system backends which use _isPseudoRoot
svn-id: r21449
Diffstat (limited to 'common')
-rw-r--r-- | common/file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp index 90f211ccd4..5a50d24233 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -159,7 +159,7 @@ void File::addDefaultDirectoryRecursive(const String &directory, int level, int baseLen++; } - FSList fslist(dir.listDir(FilesystemNode::kListAll)); + FSList fslist(dir.listDir(FilesystemNode::kListAllNoRoot)); for (FSList::const_iterator file = fslist.begin(); file != fslist.end(); ++file) { if (file->isDirectory()) { |