mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Got rid of the "Not a meter or measure" error.
The handling of the MeterStyle is now done in the CConfigParser.
This commit is contained in:
@ -1563,12 +1563,8 @@ void CMeterWindow::ReadSkin()
|
||||
{
|
||||
MessageBox(m_Window, error.GetString().c_str(), APPNAME, MB_OK | MB_TOPMOST | MB_ICONEXCLAMATION);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// It's something else
|
||||
throw CError(std::wstring(L"Section [") + pos + L"] is not a meter or a measure!", __LINE__, __FILE__);
|
||||
}
|
||||
}
|
||||
// If it's not a meter or measure it will be ignored
|
||||
}
|
||||
pos = pos + wcslen(pos) + 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user