Fix wide-string handling in attributes.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2302 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2009-03-29 20:17:19 +00:00
parent 824058e24a
commit 2e00d39faf
1 changed files with 1 additions and 1 deletions

View File

@ -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