small fix for sting conversion. no need to convert from char* to nsCString

This commit is contained in:
pinkerton%netscape.com 2000-04-27 22:14:08 +00:00
parent 5163d22d73
commit 7e33ec2e25

View File

@ -128,7 +128,7 @@ NS_IMETHODIMP nsFilePicker::Show(PRInt16 *retval)
if (result == PR_TRUE) {
// I think it also needs a conversion here (to unicode since appending to nsString)
// but doing that generates garbage file name, weird.
mFile.AppendWithConversion(fileBuffer);
mFile.Append(fileBuffer);
}
}
}