fixing case sensitivity problem

This commit is contained in:
jfrancis%netscape.com 1999-09-08 18:49:01 +00:00
parent c9c14b044d
commit a1b4df9f01
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;