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

View File

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