Fixed compiler warning (double to float).
This commit is contained in:
parent
bf79df9e88
commit
45b19997de
@ -107,7 +107,8 @@ void IconButtonWidget::add()
|
|||||||
|
|
||||||
if (m_properties[PROP_CUSTOM_RATIO] != "")
|
if (m_properties[PROP_CUSTOM_RATIO] != "")
|
||||||
{
|
{
|
||||||
m_custom_aspect_ratio = atof(m_properties[PROP_CUSTOM_RATIO].c_str());
|
StringUtils::fromString(m_properties[PROP_CUSTOM_RATIO],
|
||||||
|
m_custom_aspect_ratio);
|
||||||
m_scale_mode = SCALE_MODE_KEEP_CUSTOM_ASPECT_RATIO;
|
m_scale_mode = SCALE_MODE_KEEP_CUSTOM_ASPECT_RATIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user