Switched from std::wstring.compare() to wcscmp().

This commit is contained in:
spx
2011-11-27 08:30:39 +00:00
parent e56273113d
commit 34005f14a4
10 changed files with 19 additions and 17 deletions

View File

@ -221,7 +221,7 @@ void CMeterBitmap::ReadConfig(CConfigParser& parser, const WCHAR* section)
if (m_Initialized)
{
m_NeedsReload = (oldImageName != m_ImageName);
m_NeedsReload = (wcscmp(oldImageName.c_str(), m_ImageName.c_str()) != 0);
if (m_NeedsReload ||
m_Image.IsConfigsChanged())