Code tweaks and cleanup.

This commit is contained in:
spx
2011-12-04 22:18:40 +00:00
parent 320c2d7c83
commit 8e8b7d1268
22 changed files with 131 additions and 136 deletions

View File

@ -637,11 +637,11 @@ void CTintedImage::ReadConfig(CConfigParser& parser, const WCHAR* section)
if (m_CropMode < CROPMODE_TL || m_CropMode > CROPMODE_C)
{
std::wstring error = m_ConfigArray[ConfigIndexImageCrop];
error += L"=";
error += L'=';
error += crop;
error += L" (origin) is not valid in [";
error += section;
error += L"]";
error += L']';
throw CError(error);
}
}
@ -745,11 +745,11 @@ void CTintedImage::ReadConfig(CConfigParser& parser, const WCHAR* section)
else
{
std::wstring error = m_ConfigArray[ConfigIndexImageFlip];
error += L"=";
error += L'=';
error += flip;
error += L" is not valid in [";
error += section;
error += L"]";
error += L']';
throw CError(error);
}