issue #116: remove the using of sprintf_s, because it is VC specific

This commit is contained in:
Ming 2010-09-03 03:49:10 +00:00
parent 03afc91007
commit 37ea7dd914
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}