mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	MeasureString: Correctly convert strings to floating-point numbers instead of integers only
This commit is contained in:
		@@ -54,7 +54,7 @@ void MeasureString::ReadOptions(ConfigParser& parser, const WCHAR* section)
 | 
			
		||||
*/
 | 
			
		||||
void MeasureString::UpdateValue()
 | 
			
		||||
{
 | 
			
		||||
	m_Value = (double)_wtoi(m_String.c_str());
 | 
			
		||||
	m_Value = std::stod(m_String);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user