diff --git a/editor/base/nsEditorShell.cpp b/editor/base/nsEditorShell.cpp index 74550558e86c..870ecc796f40 100644 --- a/editor/base/nsEditorShell.cpp +++ b/editor/base/nsEditorShell.cpp @@ -351,7 +351,7 @@ nsEditorShell::InstantiateEditor(nsIDOMDocument *aDoc, nsIPresShell *aPresShell) { err = editor->Init(aDoc, aPresShell, 0); } - else if (mEditorTypeString == "htmlMail") // HTML editor with special mail rules + else if (mEditorTypeString == "htmlmail") // HTML editor with special mail rules { err = editor->Init(aDoc, aPresShell, nsIHTMLEditor::eEditorMailMask); } diff --git a/editor/composer/src/nsEditorShell.cpp b/editor/composer/src/nsEditorShell.cpp index 74550558e86c..870ecc796f40 100644 --- a/editor/composer/src/nsEditorShell.cpp +++ b/editor/composer/src/nsEditorShell.cpp @@ -351,7 +351,7 @@ nsEditorShell::InstantiateEditor(nsIDOMDocument *aDoc, nsIPresShell *aPresShell) { err = editor->Init(aDoc, aPresShell, 0); } - else if (mEditorTypeString == "htmlMail") // HTML editor with special mail rules + else if (mEditorTypeString == "htmlmail") // HTML editor with special mail rules { err = editor->Init(aDoc, aPresShell, nsIHTMLEditor::eEditorMailMask); }