mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
fix 372316 crash opening a .eml file when spotlight integration installed, sr=mscott
This commit is contained in:
parent
63c1994a9e
commit
2cb6163252
@ -1413,7 +1413,7 @@ nsMessenger::MsgHdrFromURI(const char *aUri, nsIMsgDBHdr **aMsgHdr)
|
||||
nsCOMPtr <nsIMsgMessageService> msgService;
|
||||
nsresult rv;
|
||||
|
||||
if (!strncmp(aUri, "file:", 5) || PL_strstr(aUri, "type=application/x-message-display"))
|
||||
if (mMsgWindow && (!strncmp(aUri, "file:", 5) || PL_strstr(aUri, "type=application/x-message-display")))
|
||||
{
|
||||
nsCOMPtr <nsIMsgHeaderSink> headerSink;
|
||||
mMsgWindow->GetMsgHeaderSink(getter_AddRefs(headerSink));
|
||||
|
Loading…
x
Reference in New Issue
Block a user