From 5e1af476733c75c954767db0dbaa8cecb3d09218 Mon Sep 17 00:00:00 2001 From: "glazman%netscape.com" Date: Fri, 25 Jan 2002 09:53:58 +0000 Subject: [PATCH] Text Color well reverts to black when typing; b=112966, r/sr=kin --- editor/libeditor/html/nsHTMLEditorStyle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/libeditor/html/nsHTMLEditorStyle.cpp b/editor/libeditor/html/nsHTMLEditorStyle.cpp index bd0d0919e03f..acf45b305b95 100644 --- a/editor/libeditor/html/nsHTMLEditorStyle.cpp +++ b/editor/libeditor/html/nsHTMLEditorStyle.cpp @@ -970,8 +970,8 @@ nsHTMLEditor::GetInlinePropertyBase(nsIAtom *aProperty, } if (!useCSS) { nsCOMPtr resultNode; - IsTextPropertySetByContent(collapsedNode, aProperty, 0, 0, - isSet, getter_AddRefs(resultNode)); + IsTextPropertySetByContent(collapsedNode, aProperty, aAttribute, aValue, + isSet, getter_AddRefs(resultNode), outValue); *aFirst = *aAny = *aAll = isSet; return NS_OK; }