From 2fe691fa707cbb340a7c10bcea2ae973b12564ff Mon Sep 17 00:00:00 2001 From: "scc%mozilla.org" Date: Sun, 20 Aug 2000 07:33:54 +0000 Subject: [PATCH] fixing code that relied on implicit string construction --- xpcom/io/nsLocalFileWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/io/nsLocalFileWin.cpp b/xpcom/io/nsLocalFileWin.cpp index 26d0c20a9652..d6887ab02b1c 100644 --- a/xpcom/io/nsLocalFileWin.cpp +++ b/xpcom/io/nsLocalFileWin.cpp @@ -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("\\");