mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Small fixes for r623.
This commit is contained in:
parent
b63f92f127
commit
8722009407
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user