mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	Minor fixes
This commit is contained in:
		@@ -40,7 +40,8 @@ CConfigParser::CConfigParser() :
 | 
				
			|||||||
	m_LastReplaced(false),
 | 
						m_LastReplaced(false),
 | 
				
			||||||
	m_LastDefaultUsed(false),
 | 
						m_LastDefaultUsed(false),
 | 
				
			||||||
	m_LastValueDefined(false),
 | 
						m_LastValueDefined(false),
 | 
				
			||||||
	m_CurrentSection()
 | 
						m_CurrentSection(),
 | 
				
			||||||
 | 
						m_MeterWindow()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -54,6 +55,8 @@ CConfigParser::~CConfigParser()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
void CConfigParser::Initialize(const std::wstring& filename, CMeterWindow* meterWindow, LPCTSTR skinSection, const std::wstring* resourcePath)
 | 
					void CConfigParser::Initialize(const std::wstring& filename, CMeterWindow* meterWindow, LPCTSTR skinSection, const std::wstring* resourcePath)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
						m_MeterWindow = meterWindow;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	m_Measures.clear();
 | 
						m_Measures.clear();
 | 
				
			||||||
	m_Sections.clear();
 | 
						m_Sections.clear();
 | 
				
			||||||
	m_Values.clear();
 | 
						m_Values.clear();
 | 
				
			||||||
@@ -81,8 +84,6 @@ void CConfigParser::Initialize(const std::wstring& filename, CMeterWindow* meter
 | 
				
			|||||||
	m_FoundSections.clear();
 | 
						m_FoundSections.clear();
 | 
				
			||||||
	m_ListVariables.clear();
 | 
						m_ListVariables.clear();
 | 
				
			||||||
	m_SectionInsertPos = m_Sections.end();
 | 
						m_SectionInsertPos = m_Sections.end();
 | 
				
			||||||
 | 
					 | 
				
			||||||
	m_MeterWindow = meterWindow;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void CConfigParser::SetBuiltInVariables(const std::wstring& filename, const std::wstring* resourcePath, CMeterWindow* meterWindow)
 | 
					void CConfigParser::SetBuiltInVariables(const std::wstring& filename, const std::wstring* resourcePath, CMeterWindow* meterWindow)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user