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

This commit is contained in:
Ming 2010-09-03 03:15:46 +00:00
parent 5ee84cb4d4
commit ed3909c9e4
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ namespace cocos2d {
char * CCRibbonSegment::description() char * CCRibbonSegment::description()
{ {
char *ret = new char[100] ; char *ret = new char[100] ;
sprintf_s(ret, 100, "<CCRibbonSegment | end = %u, begin = %>", m_uEnd, m_uBegin); sprintf(ret, "<CCRibbonSegment | end = %u, begin = %>", m_uEnd, m_uBegin);
return ret; return ret;
} }
CCRibbonSegment::~CCRibbonSegment() CCRibbonSegment::~CCRibbonSegment()