Minor tweaks.

This commit is contained in:
spx
2011-07-14 00:26:53 +00:00
parent 6ceacb0d98
commit fdad6fb036
8 changed files with 35 additions and 45 deletions

View File

@ -1168,7 +1168,7 @@ std::wstring CSystem::GetTemporaryFile(const std::vector<std::wstring>& iniFileM
if (pos != std::wstring::npos)
{
filename = iniFile.substr(pos + 1);
filename.assign(iniFile, pos + 1, iniFile.length() - (pos + 1));
}
else
{