elm_widget: do not need to set the scale to 0.0 if it is already 0.0.

This commit is contained in:
Daniel Juyung Seo 2014-07-03 02:12:21 +09:00
parent de9d24e09d
commit db701ac9a0
1 changed files with 1 additions and 1 deletions

View File

@ -3061,7 +3061,7 @@ _elm_widget_scroll_freeze_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
EOLIAN static void
_elm_widget_scale_set(Eo *obj, Elm_Widget_Smart_Data *sd, double scale)
{
if (scale <= 0.0) scale = 0.0;
if (scale < 0.0) scale = 0.0;
if (sd->scale != scale)
{
sd->scale = scale;