Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solve android crash with CCLabelTTF setString function #2768

Closed
wants to merge 2 commits into from

Conversation

jxgzxh111
Copy link

No description provided.

@waiter
Copy link
Contributor

waiter commented Jun 14, 2013

It's really a big bug!!!!! Please merge it.

{
while (pString.charAt(i) == ' ') {
++i;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while (i < charLength && pString.charAt(i) == ' ') {
++i;
}

I think it must be like this.
@jxgzxh111

@minggo
Copy link
Contributor

minggo commented Jun 14, 2013

@jxgzxh111 I think @waiter 's suggestion is right.

@dumganhar
Copy link

Merged at #2907.
Thanks.

@dumganhar dumganhar closed this Jun 19, 2013
samuele3hu added a commit to samuele3hu/cocos2d-x that referenced this pull request Sep 11, 2013
samuele3hu added a commit to samuele3hu/cocos2d-x that referenced this pull request Sep 14, 2013
samuele3hu added a commit to samuele3hu/cocos2d-x that referenced this pull request Sep 14, 2013
samuele3hu added a commit to samuele3hu/cocos2d-x that referenced this pull request Sep 15, 2013
samuele3hu added a commit to samuele3hu/cocos2d-x that referenced this pull request Oct 8, 2013
samuele3hu added a commit to samuele3hu/cocos2d-x that referenced this pull request Oct 10, 2013
dumganhar pushed a commit that referenced this pull request Oct 10, 2013
issue #2768:Add Armature lua binding and releated test samples
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 28, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 28, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 28, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 28, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 28, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 28, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 28, 2014
issue cocos2d#2768:Add Armature lua binding and releated test samples
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 29, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 29, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 29, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 29, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 29, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 29, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 29, 2014
issue cocos2d#2768:Add Armature lua binding and releated test samples
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
issue cocos2d#2768:Add Armature lua binding and releated test samples
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
issue cocos2d#2768:Add Armature lua binding and releated test samples
@yihuang
Copy link

yihuang commented Jul 2, 2014

What is this bug, how to reproduce?
My game have some crash reports, i'm not sure if they are due to this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants