From 3edef12094908f8c677c0bb6e28cb46c3e8234e6 Mon Sep 17 00:00:00 2001 From: Anton Sokolchenko Date: Mon, 9 Jun 2014 02:07:43 +0300 Subject: [PATCH] Update CCControlButton.cpp --- extensions/GUI/CCControlExtension/CCControlButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/GUI/CCControlExtension/CCControlButton.cpp b/extensions/GUI/CCControlExtension/CCControlButton.cpp index 05a108bd36..3a01b499bf 100644 --- a/extensions/GUI/CCControlExtension/CCControlButton.cpp +++ b/extensions/GUI/CCControlExtension/CCControlButton.cpp @@ -74,7 +74,7 @@ bool ControlButton::initWithLabelAndBackgroundSprite(Node* node, Scale9Sprite* b CCASSERT(node != nullptr, "node must not be nil."); LabelProtocol* label = dynamic_cast(node); CCASSERT(backgroundSprite != nullptr, "Background sprite must not be nil."); - CCASSERT(label != nullptr, "label must not be nil.); + CCASSERT(label != nullptr, "label must not be nil."); _parentInited = true;