зеркало из https://github.com/mozilla/pjs.git
only enable sending structs if we sucessfully got a pref value back and not if we failed to get a pref value back.
rs=sspitzer
This commit is contained in:
Родитель
9b8cd4a627
Коммит
dce9a91098
|
@ -1417,7 +1417,7 @@ nsMsgComposeAndSend::GetBodyFromEditor()
|
||||||
if (NS_SUCCEEDED(rv) && prefs)
|
if (NS_SUCCEEDED(rv) && prefs)
|
||||||
{
|
{
|
||||||
rv = prefs->GetBoolPref(PREF_MAIL_SEND_STRUCT,&enable_structs);
|
rv = prefs->GetBoolPref(PREF_MAIL_SEND_STRUCT,&enable_structs);
|
||||||
if (NS_FAILED(rv) || enable_structs)
|
if (enable_structs)
|
||||||
whattodo = whattodo | mozITXTToHTMLConv::kStructPhrase;
|
whattodo = whattodo | mozITXTToHTMLConv::kStructPhrase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче