mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00
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:
parent
62bf94dd78
commit
0c985432cb
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user