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:
@ -210,7 +210,7 @@ bool CMeterImage::Update()
|
||||
m_ImageNameResult = m_MeterWindow->MakePathAbsolute(m_ImageNameResult);
|
||||
}
|
||||
|
||||
LoadImage(m_ImageNameResult, oldResult != m_ImageNameResult);
|
||||
LoadImage(m_ImageNameResult, (wcscmp(oldResult.c_str(), m_ImageNameResult.c_str()) != 0));
|
||||
return true;
|
||||
}
|
||||
else if (m_NeedsRedraw)
|
||||
|
Reference in New Issue
Block a user