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

This commit is contained in:
Ming 2010-09-03 03:47:35 +00:00
parent ed3909c9e4
commit 03afc91007
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ CCTexture2D * CCTexture2D::initWithData(const void *data, CCTexture2DPixelFormat
char * CCTexture2D::description(void)
{
char *ret = new char[100];
sprintf_s(ret, 100, "<CCTexture2D | Name = %u | Dimensions = %u x %u | Coordinates = (%.2f, %.2f)>", m_uName, m_uPixelsWide, m_uPixelsHigh, m_fMaxS, m_fMaxT);
sprintf(ret, "<CCTexture2D | Name = %u | Dimensions = %u x %u | Coordinates = (%.2f, %.2f)>", m_uName, m_uPixelsWide, m_uPixelsHigh, m_fMaxS, m_fMaxT);
return ret;
}