Changed InitHTMLEditor to Init and removed EnableUndo, which is done in the Init

This commit is contained in:
cmanske%netscape.com 1999-03-05 21:05:26 +00:00
Родитель 6ee115084c
Коммит 50e79f8c24
1 изменённых файлов: 1 добавлений и 4 удалений

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

@ -105,9 +105,6 @@ nsresult NS_InitEditorMode(nsIDOMDocument *aDOMDocument, nsIPresShell* aPresShel
return NS_ERROR_OUT_OF_MEMORY;
}
gEditor->InitHTMLEditor(aDOMDocument, aPresShell);
gEditor->EnableUndo(PR_TRUE);
return result;
return gEditor->Init(aDOMDocument, aPresShell);
}