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
5ee84cb4d4
commit
ed3909c9e4
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue