diff options
Diffstat (limited to 'mailnews/local/src/nsMailboxService.cpp')
-rw-r--r-- | mailnews/local/src/nsMailboxService.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mailnews/local/src/nsMailboxService.cpp b/mailnews/local/src/nsMailboxService.cpp index 00a0d87c8f..3621df262c 100644 --- a/mailnews/local/src/nsMailboxService.cpp +++ b/mailnews/local/src/nsMailboxService.cpp @@ -52,7 +52,11 @@ nsresult nsMailboxService::ParseMailbox(nsIMsgWindow *aMsgWindow, nsIFile *aMail // okay now generate the url string nsCString mailboxPath; +#ifdef XP_WIN + aMailboxPath->GetPersistentDescriptor(mailboxPath); +#else aMailboxPath->GetNativePath(mailboxPath); +#endif nsAutoCString buf; MsgEscapeURL(mailboxPath, nsINetUtil::ESCAPE_URL_MINIMAL | nsINetUtil::ESCAPE_URL_FORCED, buf); |