From 61f21f8dac2e370b86e0f24d31bbcc314d257b3c Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Tue, 29 Jul 2003 07:37:48 +0000 Subject: [PATCH] Last checkin accidentally reversed the sense of the aContent test; fixing that. --- content/xml/document/src/nsXMLPrettyPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/xml/document/src/nsXMLPrettyPrinter.cpp b/content/xml/document/src/nsXMLPrettyPrinter.cpp index 2239b078b84d..1f7f1f1af21f 100644 --- a/content/xml/document/src/nsXMLPrettyPrinter.cpp +++ b/content/xml/document/src/nsXMLPrettyPrinter.cpp @@ -205,7 +205,7 @@ nsXMLPrettyPrinter::MaybeUnhook(nsIContent* aContent) { // If there either aContent is null (the document-node was modified) or // there isn't a binding parent we know it's non-anonymous content. - if (aContent || !aContent->GetBindingParent()) { + if (!aContent || !aContent->GetBindingParent()) { mUnhookPending = PR_TRUE; } }