Got too carried away with SetLeafName. The directory iterator must append.

git-svn-id: svn://10.0.0.236/branches/NSIFILE_01062000_BRANCH@58049 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2000-01-17 23:45:18 +00:00
parent fa5c3da8f3
commit 764fa0058f

View File

@@ -172,7 +172,7 @@ class nsDirEnumerator : public nsISimpleEnumerator
nsCOMPtr<nsIFile> file;
mParent->Clone(getter_AddRefs(file));
rv = file->SetLeafName(entry->name);
rv = file->Append(entry->name);
if (NS_FAILED(rv))
return rv;