summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-07-03 02:12:21 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-07-03 02:25:25 +0900
commit41df86a259e21de58f2535d9d43d4e4f794a75ef (patch)
tree23b1b13b49c007a1ebc7a28ac6e85a8176c1c1fd
parent99a32ea4bc83e1bcd4d19bd47ab6434ac142e76a (diff)
elm_widget: do not need to set the scale to 0.0 if it is already 0.0.
-rw-r--r--src/lib/elm_widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index a57072619..00a754df0 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -3061,7 +3061,7 @@ _elm_widget_scroll_freeze_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
3061EOLIAN static void 3061EOLIAN static void
3062_elm_widget_scale_set(Eo *obj, Elm_Widget_Smart_Data *sd, double scale) 3062_elm_widget_scale_set(Eo *obj, Elm_Widget_Smart_Data *sd, double scale)
3063{ 3063{
3064 if (scale <= 0.0) scale = 0.0; 3064 if (scale < 0.0) scale = 0.0;
3065 if (sd->scale != scale) 3065 if (sd->scale != scale)
3066 { 3066 {
3067 sd->scale = scale; 3067 sd->scale = scale;