mirror of https://github.com/axmolengine/axmol.git
issue #116: remove the using of sprintf_s, because it is VC specific
This commit is contained in:
parent
03afc91007
commit
37ea7dd914
|
@ -146,7 +146,7 @@ CCTextureAtlas * CCTextureAtlas::initWithTexture(CCTexture2D *texture, unsigned
|
|||
char * CCTextureAtlas::description()
|
||||
{
|
||||
char *ret = new char[100];
|
||||
sprintf_s(ret, 100, "<CCTextureAtlas | totalQuads = %u>", m_uTotalQuads);
|
||||
sprintf(ret, "<CCTextureAtlas | totalQuads = %u>", m_uTotalQuads);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue