mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Small code optimization.
This commit is contained in:
@ -259,7 +259,7 @@ void CMeterHistogram::ReadConfig(const WCHAR* section)
|
||||
m_BothColor = parser.ReadColor(section, L"BothColor", Color::Yellow);
|
||||
|
||||
m_SecondaryMeasureName = parser.ReadString(section, L"MeasureName2", L"");
|
||||
if (m_SecondaryMeasureName == L"")
|
||||
if (m_SecondaryMeasureName.empty())
|
||||
{
|
||||
m_SecondaryMeasureName = parser.ReadString(section, L"SecondaryMeasureName", L"");
|
||||
}
|
||||
|
Reference in New Issue
Block a user