Small code optimization.

This commit is contained in:
spx
2010-11-16 20:12:27 +00:00
parent fc046ac4eb
commit f689bbe6f1
4 changed files with 27 additions and 36 deletions

View File

@ -447,7 +447,7 @@ void CMeterImage::ReadConfig(const WCHAR* section)
if (alpha != tint.GetAlpha())
{
tint = Color(alpha, tint.GetRed(), tint.GetGreen(), tint.GetBlue());
tint.SetValue(Color::MakeARGB(alpha, tint.GetRed(), tint.GetGreen(), tint.GetBlue()));
}
m_ColorMatrix = c_IdentifyMatrix;