1
0
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:
Brian Ferguson 2014-01-02 13:47:36 -07:00
parent 46ddc24f90
commit d606ce0170

@ -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);
}
/*