mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Minor tweaks.
This commit is contained in:
@ -362,10 +362,11 @@ void CMeterLine::BindMeasure(const std::list<CMeasure*>& measures)
|
||||
for (; j != m_MeasureNames.end(); ++j)
|
||||
{
|
||||
// Go through the list and check it there is a secondary measure for us
|
||||
const WCHAR* name = (*j).c_str();
|
||||
std::list<CMeasure*>::const_iterator i = measures.begin();
|
||||
for ( ; i != measures.end(); ++i)
|
||||
{
|
||||
if (_wcsicmp((*i)->GetName(), (*j).c_str()) == 0)
|
||||
if (_wcsicmp((*i)->GetName(), name) == 0)
|
||||
{
|
||||
m_Measures.push_back(*i);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user