diff options
Diffstat (limited to 'common/file.cpp')
-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()) { |