From 96ec95b74ee1974ac3aa7c10ab675238d830ad47 Mon Sep 17 00:00:00 2001 From: "nhotta%netscape.com" Date: Wed, 7 Feb 2001 00:48:09 +0000 Subject: [PATCH] Forward as attachment should use message send default charset, removed the code which was re-setting the charset which had been initialized to a default charset by the nsMsgCompose constructor, bug 58494, r=ducarroz, sr=bienvenu. --- mailnews/compose/src/nsMsgCompose.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mailnews/compose/src/nsMsgCompose.cpp b/mailnews/compose/src/nsMsgCompose.cpp index 4deb858cbdac..e0f0fffd97d9 100644 --- a/mailnews/compose/src/nsMsgCompose.cpp +++ b/mailnews/compose/src/nsMsgCompose.cpp @@ -1029,12 +1029,6 @@ nsresult nsMsgCompose::CreateMessage(const PRUnichar * originalMsgURI, case nsIMsgCompType::ForwardAsAttachment: { - if (!aCharset.IsEmpty()) - { - nsCAutoString aCharsetCStr; aCharsetCStr.AssignWithConversion(aCharset); - m_compFields->SetCharacterSet(aCharsetCStr); - } - subjectStr.AppendWithConversion("[Fwd: "); subjectStr.AppendWithConversion(subject); subjectStr.AppendWithConversion("]");