Fixed two more locales-related issues

One warning was also fixed
This commit is contained in:
Lukas Matena 2021-06-07 12:30:57 +02:00
parent 8e75919948
commit 1f29a2593b
4 changed files with 4 additions and 3 deletions
src/slic3r/GUI

View file

@ -1217,7 +1217,7 @@ boost::any& Choice::get_value()
else if (m_opt.type == coInt)
m_value = atoi(m_opt.enum_values[ret_enum].c_str());
else
m_value = atof(m_opt.enum_values[ret_enum].c_str());
m_value = string_to_double_decimal_point(m_opt.enum_values[ret_enum]);
}
else
// modifies ret_string!