mirror of https://github.com/axmolengine/axmol.git
Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into upto-0.99.5
This commit is contained in:
commit
36d68eeb41
|
@ -137,7 +137,7 @@ namespace cocos2d{
|
|||
|
||||
// parse spacing / padding
|
||||
std::string line;
|
||||
std::string strLeft = pBuffer;
|
||||
std::string strLeft(pBuffer, nBufSize);
|
||||
while (strLeft.length() > 0)
{
|
||||
int pos = strLeft.find('\n');
|
||||
|
||||
|
|
Loading…
Reference in New Issue