Warning fix for ANSI C++ violation.
git-svn-id: svn://10.0.0.236/trunk@31784 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -50,7 +50,7 @@ static NS_DEFINE_CID(kEditorCID, NS_EDITOR_CID);
|
||||
nsresult NS_InitEditorMode(nsIDOMDocument *aDOMDocument, nsIPresShell* aPresShell)
|
||||
{
|
||||
nsresult result = NS_OK;
|
||||
static needsInit=PR_TRUE;
|
||||
static PRBool needsInit=PR_TRUE;
|
||||
// This is a big leak if called > once, but its only temp test code, correct?
|
||||
if (gEditor)
|
||||
gEditor=nsnull;
|
||||
|
||||
Reference in New Issue
Block a user