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
+1 -1
View File
@@ -676,7 +676,7 @@ void DumpTerrainMipmap(ScriptInterface::CxPrivate* UNUSED(pCxPrivate))
g_Game->GetWorld()->GetTerrain()->GetHeightMipmap().DumpToDisk(filename);
OsPath realPath;
g_VFS->GetRealPath(filename, realPath);
LOGMESSAGERENDER("Terrain mipmap written to '%ls'", realPath.string().c_str());
LOGMESSAGERENDER("Terrain mipmap written to '%ls'", realPath.string8());
}
void EnableTimeWarpRecording(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), unsigned int numTurns)