From f61bcf972010c5a7bc9c96c6d8997ac5fe97bd92 Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Mon, 23 Sep 2002 17:34:50 +0000 Subject: [PATCH] Rearrange initialization of member vars to avoid build warning, fix by walker84@yahoo.com, b=169780, r=cmanske, sr=dveditz --- editor/libeditor/base/nsEditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/libeditor/base/nsEditor.cpp b/editor/libeditor/base/nsEditor.cpp index 02f6b2ef4b5..861a54cfb32 100644 --- a/editor/libeditor/base/nsEditor.cpp +++ b/editor/libeditor/base/nsEditor.cpp @@ -149,7 +149,8 @@ nsIAtom *nsEditor::gIMETxnName; nsIAtom *nsEditor::gDeleteTxnName; nsEditor::nsEditor() -: mModCount(0) +: mContentMIMEType(nsnull) +, mModCount(0) , mPresShellWeak(nsnull) , mViewManager(nsnull) , mUpdateCount(0) @@ -171,7 +172,6 @@ nsEditor::nsEditor() , mActionListeners(nsnull) , mEditorObservers(nsnull) , mDocDirtyState(-1) -, mContentMIMEType(nsnull) , mDocWeak(nsnull) { //initialize member variables here