mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
making string conversions explicit
This commit is contained in:
parent
4653555152
commit
4263e7a5e4
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user