Commit bc536750 authored by hybrid's avatar hybrid

Fixed call to stringc.append

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1803 dfc29bdd-3216-0410-991c-e03cc46cb475
parent aee0f5b8
...@@ -329,7 +329,7 @@ IAnimatedMesh* CMY3DMeshFileLoader::createMesh(io::IReadFile* file) ...@@ -329,7 +329,7 @@ IAnimatedMesh* CMY3DMeshFileLoader::createMesh(io::IReadFile* file)
if (id!=MY3D_TVERTS_ID) if (id!=MY3D_TVERTS_ID)
{ {
core::stringc msg="Can not find MY3D_TVERTS_ID ("; core::stringc msg="Can not find MY3D_TVERTS_ID (";
msg.append(tex); msg.append(core::stringc(tex));
msg.append("texture channel), loading failed!"); msg.append("texture channel), loading failed!");
os::Printer::log(msg.c_str(), ELL_ERROR); os::Printer::log(msg.c_str(), ELL_ERROR);
return 0; return 0;
...@@ -365,7 +365,7 @@ IAnimatedMesh* CMY3DMeshFileLoader::createMesh(io::IReadFile* file) ...@@ -365,7 +365,7 @@ IAnimatedMesh* CMY3DMeshFileLoader::createMesh(io::IReadFile* file)
if (id!=MY3D_TFACES_ID) if (id!=MY3D_TFACES_ID)
{ {
core::stringc msg="Can not find MY3D_TFACES_ID ("; core::stringc msg="Can not find MY3D_TFACES_ID (";
msg.append(tex); msg.append(core::stringc(tex));
msg.append("texture channel), loading failed!"); msg.append("texture channel), loading failed!");
os::Printer::log(msg.c_str(), ELL_ERROR); os::Printer::log(msg.c_str(), ELL_ERROR);
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment