diff options
Diffstat (limited to 'mailnews/compose/src/nsMsgSend.cpp')
-rw-r--r-- | mailnews/compose/src/nsMsgSend.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mailnews/compose/src/nsMsgSend.cpp b/mailnews/compose/src/nsMsgSend.cpp index e328a9e21d..919d9bfc54 100644 --- a/mailnews/compose/src/nsMsgSend.cpp +++ b/mailnews/compose/src/nsMsgSend.cpp @@ -2088,7 +2088,9 @@ nsMsgComposeAndSend::AddCompFieldLocalAttachments() if (NS_SUCCEEDED(rv) && !fileExt.IsEmpty()) { nsAutoCString type; mimeFinder->GetTypeFromExtension(fileExt, type); + #ifndef XP_MACOSX if (!type.Equals("multipart/appledouble")) // can't do apple double on non-macs + #endif m_attachments[newLoc]->m_type = type; } } @@ -2103,7 +2105,9 @@ nsMsgComposeAndSend::AddCompFieldLocalAttachments() if (NS_SUCCEEDED(rv) && !fileExt.IsEmpty()) { nsAutoCString type; mimeFinder->GetTypeFromExtension(fileExt, type); + #ifndef XP_MACOSX if (!type.Equals("multipart/appledouble")) // can't do apple double on non-macs + #endif m_attachments[newLoc]->m_type = type; // rtf and vcs files may look like text to sniffers, // but they're not human readable. |