Merge pull request #1751 from minggo/iss1610_labelttf

fixed #1610:skip only white character
This commit is contained in:
minggo 2012-12-10 01:19:27 -08:00
commit 9d793f0def
1 changed files with 2 additions and 2 deletions

View File

@ -295,8 +295,8 @@ public class Cocos2dxBitmap {
}
/* Remove spaces at the beginning of a new line. */
while (pString.indexOf(i++) == ' ') {
;
while (pString.indexOf(i) == ' ') {
++i;
}
start = i;