From 6d56e591d242538f3c581315ff3d7d6819147843 Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Thu, 17 Apr 2003 18:28:35 +0000 Subject: [PATCH] fix for plaintext editor, fallout from bug 201982 sr=sfraser --- editor/libeditor/build/nsEditorRegistration.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/libeditor/build/nsEditorRegistration.cpp b/editor/libeditor/build/nsEditorRegistration.cpp index 9c25490c6ce2..1406a7c79493 100644 --- a/editor/libeditor/build/nsEditorRegistration.cpp +++ b/editor/libeditor/build/nsEditorRegistration.cpp @@ -62,7 +62,9 @@ static NS_DEFINE_CID(kEditorCommandTableCID, NS_EDITORCOMMANDTABLE_CID); PR_STATIC_CALLBACK(nsresult) Initialize(nsIModule* self) { +#ifndef MOZILLA_PLAINTEXT_EDITOR_ONLY nsEditProperty::RegisterAtoms(); +#endif return NS_OK; }