From 764fa0058f17447b8407c3e032bec6147233fdbc Mon Sep 17 00:00:00 2001 From: "dougt%netscape.com" Date: Mon, 17 Jan 2000 23:45:18 +0000 Subject: [PATCH] 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 --- mozilla/xpcom/io/nsLocalFileWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpcom/io/nsLocalFileWin.cpp b/mozilla/xpcom/io/nsLocalFileWin.cpp index 28130dbd4ec..aad409b2513 100644 --- a/mozilla/xpcom/io/nsLocalFileWin.cpp +++ b/mozilla/xpcom/io/nsLocalFileWin.cpp @@ -172,7 +172,7 @@ class nsDirEnumerator : public nsISimpleEnumerator nsCOMPtr file; mParent->Clone(getter_AddRefs(file)); - rv = file->SetLeafName(entry->name); + rv = file->Append(entry->name); if (NS_FAILED(rv)) return rv;