fix crashing bug 30120. check in for tajima@eng.sun.com since the crash is

verified and test on my machine. r=ftang, a=bobj. Will check into the beta
branch also.
This commit is contained in:
ftang%netscape.com 2000-03-13 02:33:19 +00:00
parent f7c27d1d9d
commit 6ea7fbcc1c
2 changed files with 12 additions and 0 deletions

View File

@ -88,6 +88,7 @@
#include "JoinElementTxn.h"
#include "nsStyleSheetTxns.h"
#include "IMETextTxn.h"
#include "nsIHTMLEditor.h"
// #define HACK_FORCE_REDRAW 1
@ -1699,6 +1700,11 @@ nsEditor::ForceCompositionEnd()
return NS_OK;
#endif
#ifdef XP_UNIX
if(mFlags & nsIHTMLEditor::eEditorPasswordMask)
return NS_OK;
#endif
nsresult res = NS_OK;
nsCOMPtr<nsIPresShell> shell;

View File

@ -88,6 +88,7 @@
#include "JoinElementTxn.h"
#include "nsStyleSheetTxns.h"
#include "IMETextTxn.h"
#include "nsIHTMLEditor.h"
// #define HACK_FORCE_REDRAW 1
@ -1699,6 +1700,11 @@ nsEditor::ForceCompositionEnd()
return NS_OK;
#endif
#ifdef XP_UNIX
if(mFlags & nsIHTMLEditor::eEditorPasswordMask)
return NS_OK;
#endif
nsresult res = NS_OK;
nsCOMPtr<nsIPresShell> shell;