mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	- Fixed a problem that !RainmeterQuit isn't executed when no meter window is running.
- Fixed a problem that StyleTemplate affects to Meters which have no relation. - Added a workaround to avoid the "IniFileMapping" function when reading skins. - Some small code cosmetics.
This commit is contained in:
		@@ -148,9 +148,9 @@ void CMeasureCalc::RandomFormulaReplace()
 | 
			
		||||
	//To implement random numbers the word "Random" in the string
 | 
			
		||||
	//formula is being replaced by the random number value
 | 
			
		||||
	m_Formula = m_FormulaHolder;
 | 
			
		||||
	int loc = m_Formula.find(L"Random");
 | 
			
		||||
	std::wstring::size_type loc = m_Formula.find(L"Random");
 | 
			
		||||
 | 
			
		||||
	while(loc > -1)
 | 
			
		||||
	while(loc != std::wstring::npos)
 | 
			
		||||
	{
 | 
			
		||||
		int range = (m_HighBound - m_LowBound); 
 | 
			
		||||
		srand((unsigned) rand()); 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user