зеркало из https://github.com/mozilla/gecko-dev.git
fixing case sensitivity problem
This commit is contained in:
Родитель
c9c14b044d
Коммит
a1b4df9f01
|
@ -311,7 +311,7 @@ nsEditorShell::SetEditorType(const PRUnichar *editorType)
|
|||
|
||||
nsAutoString theType = editorType;
|
||||
theType.ToLowerCase();
|
||||
if (theType == "text" || theType == "html" || theType == "" || theType == "htmlMail")
|
||||
if (theType == "text" || theType == "html" || theType == "" || theType == "htmlmail")
|
||||
{
|
||||
mEditorTypeString = theType;
|
||||
return NS_OK;
|
||||
|
|
|
@ -311,7 +311,7 @@ nsEditorShell::SetEditorType(const PRUnichar *editorType)
|
|||
|
||||
nsAutoString theType = editorType;
|
||||
theType.ToLowerCase();
|
||||
if (theType == "text" || theType == "html" || theType == "" || theType == "htmlMail")
|
||||
if (theType == "text" || theType == "html" || theType == "" || theType == "htmlmail")
|
||||
{
|
||||
mEditorTypeString = theType;
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче