Commit f450f358 authored by hybrid's avatar hybrid

Revert last changes to make gcc happy.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3025 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 9fbd2926
......@@ -1828,13 +1828,13 @@ public:
virtual core::stringw getStringW()
{
return Value ? Value->getName() : core::stringw(0);
return core::stringw(Value ? Value->getName().getPath().c_str() : 0);
}
virtual core::stringc getString()
{
// since texture names can be stringw we are careful with the types
return Value ? Value->getName() : core::stringc(0);
return core::stringc(Value ? Value->getName().getPath().c_str() : 0);
}
virtual void setString(const char* text)
......
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