Fix for incorrect signature HTML - Bug #23011 - r: jefft

This commit is contained in:
rhp%netscape.com 2000-01-05 15:08:32 +00:00
Родитель 0e68fe484f
Коммит 6a2589635b
1 изменённых файлов: 7 добавлений и 3 удалений

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

@ -1789,19 +1789,23 @@ nsMsgCompose::ProcessSignature(nsIMsgIdentity *identity, nsString *aMsgBody)
{
aMsgBody->Append(htmlBreak);
if (!htmlSig)
{
aMsgBody->Append("<pre>");
aMsgBody->Append(CRLF);
}
}
else
aMsgBody->Append(CRLF);
aMsgBody->Append(dashes);
if (m_composeHTML)
aMsgBody->Append(htmlBreak);
else
if ( (!m_composeHTML) || ((m_composeHTML) && (!htmlSig)) )
aMsgBody->Append(CRLF);
else if (m_composeHTML)
aMsgBody->Append(htmlBreak);
aMsgBody->Append(sigData);
if ( (m_composeHTML) && (!htmlSig) )
aMsgBody->Append("</pre>");
}