This will enable the old quoting hack for non local mailbox messages. This

checkin was approved by chofmann.
This commit is contained in:
rhp%netscape.com 1999-06-18 02:37:25 +00:00
Родитель d85cbb4d13
Коммит db625ad65a
1 изменённых файлов: 16 добавлений и 2 удалений

Просмотреть файл

@ -72,7 +72,7 @@ nsMsgCompose::nsMsgCompose()
nsMsgCompose::~nsMsgCompose()
{
NS_IF_RELEASE(mOutStream);
NS_RELEASE(m_editor);
NS_IF_RELEASE(m_editor);
}
@ -677,7 +677,21 @@ nsMsgCompose::QuoteOriginalMessage(const PRUnichar *originalMsgURI, PRInt32 what
//
// For now, you need to set a pref to do the old quoting
//
PRBool oldQuoting = PR_FALSE;
PRBool oldQuoting = PR_FALSE;
nsString tmpURI(originalMsgURI);
char *compString = tmpURI.ToNewCString();
if (compString)
{
if (PL_strncasecmp(compString, "mailbox_message:", 16) != 0)
{
oldQuoting = PR_TRUE;
}
}
PR_FREEIF(compString);
NS_WITH_SERVICE(nsIPref, prefs, kPrefCID, &rv);
if (NS_SUCCEEDED(rv) && prefs)
{