fix 240644, hang attaching file when last attachment was saved to a directory that no longer exists, r=roc,emaijala@kolumbus.fi, sr=mscott, oops forgot to address Christian's string usage review comment

This commit is contained in:
bienvenu@nventure.com 2007-08-28 17:38:54 -07:00
parent 5799fa05ff
commit e903ce6185

View File

@ -157,7 +157,7 @@ NS_IMETHODIMP nsFilePicker::ShowW(PRInt16 *aReturnVal)
// defaulting to cwd instead of whatever the file picker defaults to
// is a lot faster if that default dir doesn't exist.
if (initialDir.IsEmpty())
initialDir = NS_LITERAL_STRING(".");
initialDir.AssignLiteral(".");
}
mUnicodeFile.Truncate();