Don't call FileSet::IsADirectory because this is where it is supposed to be set and it will always return false.
This commit is contained in:
@@ -93,7 +93,7 @@ void FileSet::LoadFromDir(const CString &dir)
|
|||||||
|
|
||||||
File f;
|
File f;
|
||||||
f.name=ent->d_name;
|
f.name=ent->d_name;
|
||||||
f.dir = IsADirectory(ent->d_name);
|
f.dir = ::IsADirectory(ent->d_name);
|
||||||
|
|
||||||
files.insert(f);
|
files.insert(f);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user