mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	Some of the plugins don't work with the dynamic variables so the feature is now disabled for them.
This commit is contained in:
		| @@ -129,7 +129,7 @@ void CConfigParser::SetVariable(const std::wstring& strVariable, const std::wstr | ||||
| ** | ||||
| ** | ||||
| */ | ||||
| const std::wstring& CConfigParser::ReadString(LPCTSTR section, LPCTSTR key, LPCTSTR defValue) | ||||
| const std::wstring& CConfigParser::ReadString(LPCTSTR section, LPCTSTR key, LPCTSTR defValue, bool bReplaceMeasures) | ||||
| { | ||||
| 	static std::wstring result; | ||||
|  | ||||
| @@ -194,7 +194,7 @@ const std::wstring& CConfigParser::ReadString(LPCTSTR section, LPCTSTR key, LPCT | ||||
| 	} while(loop); | ||||
|  | ||||
| 	// Check for measures ([Measure]) | ||||
| 	if (!m_Measures.empty()) | ||||
| 	if (!m_Measures.empty() && bReplaceMeasures) | ||||
| 	{ | ||||
| 		start = 0; | ||||
| 		end = std::wstring::npos; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kimmo Pekkola
					Kimmo Pekkola