Cosmetics

This commit is contained in:
Birunthan Mohanathas
2012-05-30 21:51:06 +03:00
parent dc35b31559
commit 6efb485e69
8 changed files with 60 additions and 60 deletions

View File

@ -146,7 +146,7 @@ void CMeterButton::ReadConfig(CConfigParser& parser, const WCHAR* section)
}
else
{
m_Image.ClearConfigFlags();
m_Image.ClearOptionFlags();
}
m_Command = parser.ReadString(section, L"ButtonCommand", L"", false);
@ -156,7 +156,7 @@ void CMeterButton::ReadConfig(CConfigParser& parser, const WCHAR* section)
m_NeedsReload = (wcscmp(oldImageName.c_str(), m_ImageName.c_str()) != 0);
if (m_NeedsReload ||
m_Image.IsConfigsChanged())
m_Image.IsOptionsChanged())
{
Initialize(); // Reload the image
}