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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user