Replace swprintf by swprintf_irr in 2 more places.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5062 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2015-03-02 21:06:01 +00:00
parent 83e1d1c80a
commit 8927bbe9cf
1 changed files with 2 additions and 2 deletions

View File

@ -402,7 +402,7 @@ void Q3ShaderFactory ( Q3LevelLoadParameter &loadParam,
// show Debug Shader Name
if ( showShaderName && node )
{
swprintf ( (wchar_t*) buf, 64, L"%hs:%d", node->getName(),node->getID() );
swprintf_irr ( (wchar_t*) buf, 64, L"%hs:%d", node->getName(),node->getID() );
smgr->addBillboardTextSceneNode(
font,
(wchar_t*) buf,
@ -635,7 +635,7 @@ void Q3ModelFactory ( Q3LevelLoadParameter &loadParam,
// show name
if ( showShaderName )
{
swprintf ( (wchar_t*) buf, sizeof(buf) / 2, L"%hs", itemElement->key );
swprintf_irr ( (wchar_t*) buf, sizeof(buf) / 2, L"%hs", itemElement->key );
smgr->addBillboardTextSceneNode(
font,
(wchar_t*) buf,