From b3cc4f321ef55077ad8159812e23bfc3d29bc842 Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Mon, 11 Sep 2006 13:48:13 +0000 Subject: [PATCH] Fix misplaced ) in debug-only code b=344423 r=aaronlev sr=jag --- 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 55b0d6b6819..0dd0d2b2717 100644 --- a/editor/libeditor/base/nsEditor.cpp +++ b/editor/libeditor/base/nsEditor.cpp @@ -4607,8 +4607,8 @@ nsEditor::DeleteSelectionImpl(nsIEditor::EDirection aAction) if (aAction == ePrevious || aAction == eNext) { #ifdef DEBUG PRUint32 flags; - NS_ASSERTION(NS_SUCCEEDED(GetFlags(&flags) && - (flags & nsIPlaintextEditor::eEditorPlaintextMask)), + NS_ASSERTION(NS_SUCCEEDED(GetFlags(&flags)) && + (flags & nsIPlaintextEditor::eEditorPlaintextMask), "Should not have reached this point in rich text editor"); #endif res = selection->GetIsCollapsed(&isDeletingOneChar);