Projects > cpp > Issues > Bug #4632

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

a bug in cocos/2d/CCLabelTTF.cpp

Bug #4632 [Closed]
raison 2014-04-01 13:37 . Updated about 2 years ago
std::string LabelTTF::getDescription() const
    return StringUtils::format("", _renderLabel->getFontName().c_str(), (float)_renderLabel->getFontSize(), _renderLabel->getString().c_str());

a (float) should be placed before _renderLabel->getFontSize(), otherwise it will crash. 2014-10-08 02:49

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to

Atom PDF

Start date:2014-04-01
Due date:
% Done:


Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.