1
0
forked from mirrors/0ad

Automatically convert all CLogger format strings from wchar_t* to char*.

Done with:

  ag -ls 'LOG(MESSAGE|MESSAGERENDER|WARNING|ERROR)' source | xargs sed
-i 's/LOG\(MESSAGE\|MESSAGERENDER\|WARNING\|ERROR\)(L/LOG\1(/g'

This was SVN commit r16183.
This commit is contained in:
Ykkrosh
2015-01-22 20:31:30 +00:00
parent dcf5a2667f
commit 49e2ecea63
112 changed files with 516 additions and 516 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ bool CObjectBase::Load(const VfsPath& pathname)
if (root.GetNodeName() != el_actor)
{
LOGERROR(L"Invalid actor format (unrecognised root element '%hs')", XeroFile.GetElementString(root.GetNodeName()).c_str());
LOGERROR("Invalid actor format (unrecognised root element '%hs')", XeroFile.GetElementString(root.GetNodeName()).c_str());
return false;
}
@@ -266,7 +266,7 @@ bool CObjectBase::Load(const VfsPath& pathname)
if (currentGroup->size() == 0)
{
LOGERROR(L"Actor group has zero variants ('%ls')", pathname.string().c_str());
LOGERROR("Actor group has zero variants ('%ls')", pathname.string().c_str());
}
++currentGroup;