This commit is contained in:
spx
2011-07-15 16:54:47 +00:00
parent 20e2a53324
commit 8515877c48
5 changed files with 126 additions and 111 deletions

View File

@ -80,7 +80,8 @@ void CConfigParser::Initialize(LPCTSTR filename, CRainmeter* pRainmeter, CMeterW
ReadIniFile(iniFileMappings, m_Filename, config);
ReadVariables();
std::unordered_set<std::wstring>().swap(m_FoundSections); // clear and minimize
// Clear and minimize
std::vector<std::wstring>().swap(m_ListVariables);
}
/*
@ -1107,6 +1108,8 @@ void CConfigParser::ReadIniFile(const std::vector<std::wstring>& iniFileMappings
{
m_Sections.push_back(L"Rainmeter");
m_Sections.push_back(config);
m_FoundSections.insert(L"rainmeter");
m_FoundSections.insert(StrToLower(config));
}
}