fixing code that relied on implicit string construction

This commit is contained in:
scc%mozilla.org 2000-08-20 07:33:54 +00:00
parent 7d2020e4f9
commit 2fe691fa70

View File

@ -830,7 +830,7 @@ nsLocalFile::CopySingleFile(nsIFile *sourceFile, nsIFile *destParent, const char
// target.
char* inFilePath;
destParent->GetTarget(&inFilePath);
nsCString destPath = inFilePath;
nsCString destPath(inFilePath);
nsMemory::Free(inFilePath);
destPath.Append("\\");