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.

walzer@cocos2d-x.org 2014-10-08 02:49

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

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8394

Atom PDF

Status:Closed
Start date:2014-04-01
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:all
Target version:-

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