fixing case sensitivity problem

This commit is contained in:
jfrancis%netscape.com 1999-09-08 18:49:01 +00:00
Родитель c9c14b044d
Коммит a1b4df9f01
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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