update subtitle.

This commit is contained in:
Dhilan007 2014-01-16 15:07:20 +08:00
parent 18bd978480
commit 547ab3ef0a
1 changed files with 2 additions and 2 deletions

View File

@ -1250,7 +1250,7 @@ LabelCrashTest::LabelCrashTest()
TTFConfig ttfConfig("fonts/arial.ttf", 80, GlyphCollection::DYNAMIC,nullptr,true);
auto label1 = Label::createWithTTF(ttfConfig,"Test崩溃34324324", TextHAlignment::CENTER, size.width);
auto label1 = Label::createWithTTF(ttfConfig,"Test崩溃123", TextHAlignment::CENTER, size.width);
label1->setPosition( Point(size.width/2, size.height/2) );
label1->setAnchorPoint(Point(0.5, 0.5));
addChild(label1);
@ -1263,5 +1263,5 @@ std::string LabelCrashTest::title() const
std::string LabelCrashTest::subtitle() const
{
return "Should not crash when using unknown character.";
return "Not crash and show [Test123] when using unknown character.";
}