mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Switched from std::wstring.compare() to wcscmp().
This commit is contained in:
@ -115,7 +115,7 @@ void CMeterRotator::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())
|
||||
|
Reference in New Issue
Block a user