mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
fixing case sensitivity problem
This commit is contained in:
parent
c9c14b044d
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user