1
0
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:
Ykkrosh
2015-01-22 20:35:17 +00:00
parent b90bc147c9
commit 38a8e2e0d6
38 changed files with 113 additions and 113 deletions
+2 -2
View File
@@ -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();
}
}