From 03afc91007752be00764bb637cd00c53fdb1b6ab Mon Sep 17 00:00:00 2001 From: Ming Date: Fri, 3 Sep 2010 03:47:35 +0000 Subject: [PATCH] issue #116: remove the using of sprintf_s, because it is VC specific --- cocos2dx/textures/CCTexture2D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/textures/CCTexture2D.cpp b/cocos2dx/textures/CCTexture2D.cpp index 56c57f900f..23d09e7c1f 100644 --- a/cocos2dx/textures/CCTexture2D.cpp +++ b/cocos2dx/textures/CCTexture2D.cpp @@ -177,7 +177,7 @@ CCTexture2D * CCTexture2D::initWithData(const void *data, CCTexture2DPixelFormat char * CCTexture2D::description(void) { char *ret = new char[100]; - sprintf_s(ret, 100, "", m_uName, m_uPixelsWide, m_uPixelsHigh, m_fMaxS, m_fMaxT); + sprintf(ret, "", m_uName, m_uPixelsWide, m_uPixelsHigh, m_fMaxS, m_fMaxT); return ret; }