Small fixes for r623.

This commit is contained in:
spx 2010-11-24 18:08:11 +00:00
parent b63f92f127
commit 8722009407

View File

@ -1540,6 +1540,7 @@ void CMeterWindow::ReadConfig()
m_AutoSelectScreen = false; m_AutoSelectScreen = false;
m_AlphaValue = 255; m_AlphaValue = 255;
m_FadeDuration = 250; m_FadeDuration = 250;
m_ConfigGroup = L"";
CConfigParser parser; CConfigParser parser;
parser.Initialize(iniFile.c_str(), m_Rainmeter); parser.Initialize(iniFile.c_str(), m_Rainmeter);
@ -1714,8 +1715,12 @@ bool CMeterWindow::ReadSkin()
m_Parser.Initialize(iniFile.c_str(), m_Rainmeter, this); m_Parser.Initialize(iniFile.c_str(), m_Rainmeter, this);
// Global settings // Global settings
std::wstring group = m_Parser.ReadString(L"Rainmeter", L"Group", L"");
if (!group.empty())
{
m_ConfigGroup += L"|"; m_ConfigGroup += L"|";
m_ConfigGroup += m_Parser.ReadString(L"Rainmeter", L"Group", m_ConfigGroup.c_str()); m_ConfigGroup += group;
}
InitializeGroup(m_ConfigGroup); InitializeGroup(m_ConfigGroup);
// Check the version // Check the version