зеркало из https://github.com/mozilla/gecko-dev.git
Bug 334300 nsHTMLEditor::InsertAsPlaintextQuotation uses quotesInPre uninitialized in a case that doesn't happen
r=neil sr=neil
This commit is contained in:
Родитель
c3d5345371
Коммит
bb97bc429d
|
@ -2179,7 +2179,7 @@ nsHTMLEditor::InsertAsPlaintextQuotation(const nsAString & aQuotedText,
|
|||
|
||||
// The quotesPreformatted pref is a temporary measure. See bug 69638.
|
||||
// Eventually we'll pick one way or the other.
|
||||
PRBool quotesInPre;
|
||||
PRBool quotesInPre = PR_FALSE;
|
||||
nsCOMPtr<nsIPrefBranch> prefBranch =
|
||||
do_GetService(NS_PREFSERVICE_CONTRACTID, &rv);
|
||||
if (NS_SUCCEEDED(rv) && prefBranch)
|
||||
|
|
Загрузка…
Ссылка в новой задаче