forked from mirrors/0ad
Automatically convert most path.string().c_str() to path.string8()
Done with:
ag -l 'LOG.*string\(\).c_str\(\)' source | xargs perl -pi -e'1 while
s/(LOG.*string)\(\)\.c_str\(\)/${1}8()/g'
This was SVN commit r16186.
This commit is contained in:
@@ -53,7 +53,7 @@ CModelDefPtr CMeshManager::GetMesh(const VfsPath& pathname)
|
||||
|
||||
if (pmdFilename.empty())
|
||||
{
|
||||
LOGERROR("Could not load mesh '%ls'", pathname.string().c_str());
|
||||
LOGERROR("Could not load mesh '%ls'", pathname.string8());
|
||||
return CModelDefPtr();
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ CModelDefPtr CMeshManager::GetMesh(const VfsPath& pathname)
|
||||
}
|
||||
catch (PSERROR_File&)
|
||||
{
|
||||
LOGERROR("Could not load mesh '%ls'", pmdFilename.string().c_str());
|
||||
LOGERROR("Could not load mesh '%ls'", pmdFilename.string8());
|
||||
return CModelDefPtr();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user