From 142736ab881984826d8e34f235682385fbaef4ba Mon Sep 17 00:00:00 2001 From: "ducarroz%netscape.com" Date: Wed, 9 Jan 2002 23:50:21 +0000 Subject: [PATCH] Fix for bug 105825. Don't remove empty body part when sending message. Patch submitted by :parish@ntlworld.com. R=cavin, SR=sspitzer git-svn-id: svn://10.0.0.236/trunk@111748 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/compose/src/nsMsgSendPart.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/mailnews/compose/src/nsMsgSendPart.cpp b/mozilla/mailnews/compose/src/nsMsgSendPart.cpp index 0ea2f08e3ef..41d3e76bc8d 100644 --- a/mozilla/mailnews/compose/src/nsMsgSendPart.cpp +++ b/mozilla/mailnews/compose/src/nsMsgSendPart.cpp @@ -488,7 +488,8 @@ nsMsgSendPart::Write() if ( (m_parent) && (m_numchildren == 0) && ( (!m_buffer) || (!*m_buffer) ) && - (!m_filespec) ) + (!m_filespec) && + (!m_mainpart) ) return SKIP_EMPTY_PART; if (m_mainpart && m_type && PL_strcmp(m_type, TEXT_HTML) == 0)