Fix wide-string handling in attributes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2302 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
824058e24a
commit
2e00d39faf
|
@ -1398,7 +1398,7 @@ void CAttributes::readAttributeFromXML(io::IXMLReader* reader)
|
|||
else
|
||||
if (element == L"string")
|
||||
{
|
||||
addString(name.c_str(), "");
|
||||
addString(name.c_str(), L"");
|
||||
Attributes.getLast()->setString(reader->getAttributeValue(L"value"));
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue