making string conversions explicit

This commit is contained in:
scc%netscape.com 2000-04-27 21:09:10 +00:00
parent 4653555152
commit 4263e7a5e4

View File

@ -289,9 +289,9 @@ void nsInstallFile::CreateAllFolders(nsInstall *inInstall, nsIFile *inFolderPath
++mFolderCreateCount;
inFolderPath->GetPath(&szPath);
nsStrFolder = szPath;
nsStrFolder.AssignWithConversion(szPath);
nsAllocator::Free(szPath);
ilc = new nsInstallLogComment(inInstall, "CreateFolder", nsStrFolder, error);
ilc = new nsInstallLogComment(inInstall, NS_ConvertASCIItoUCS2("CreateFolder"), nsStrFolder, error);
if(ilc == nsnull)
*error = nsInstall::OUT_OF_MEMORY;