bug 291320 : reply to mail with raw 8bit characters in the subject results in an empty subject line patch by Jean-Marc Desperrier (r=me, sr=bienvenu, a=shaver)

This commit is contained in:
jshin%mailaps.org 2005-05-13 17:46:06 +00:00
parent 3239f7f4b2
commit 652949b563

View File

@ -1559,7 +1559,7 @@ nsresult nsMsgCompose::CreateMessage(const char * originalMsgURI,
nsXPIDLString subject;
nsXPIDLCString decodedCString;
if (!charsetOverride)
if (!charsetOverride && charset.IsEmpty())
{
rv = msgHdr->GetCharset(getter_Copies(charset));
if (NS_FAILED(rv)) return rv;