mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
5799fa05ff
commit
e903ce6185
@ -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…
Reference in New Issue
Block a user