From a34c70d2534d3e0c0204fd4ece8a9b5180b28db7 Mon Sep 17 00:00:00 2001 From: James Chen Date: Mon, 12 Aug 2013 11:19:21 +0800 Subject: [PATCH] issue #2521: Fixing a logical error in CCBReader::addOwnerOutletNode. 'NULL != node' --> 'NULL == node'. --- extensions/CCBReader/CCBReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/CCBReader/CCBReader.cpp b/extensions/CCBReader/CCBReader.cpp index a4a6bf7811..b0d98e1fa5 100644 --- a/extensions/CCBReader/CCBReader.cpp +++ b/extensions/CCBReader/CCBReader.cpp @@ -1081,7 +1081,7 @@ void CCBReader::addOwnerOutletName(std::string name) void CCBReader::addOwnerOutletNode(Node *node) { - if (NULL != node) + if (NULL == node) return; _ownerOutletNodes->addObject(node);