hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9027cde720ccd2315f780fda01933a48cedfc5ac

commit 9027cde720ccd2315f780fda01933a48cedfc5ac
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Wed Jul 15 12:22:41 2015 +0900

    The default return value of edje_object_base_scale_get API is 1.0.
    The return value is used for divisor in many case.
    If it return 0.0 when it fail, it can break app with div by zero.
    
    @fix
    
    Signed-Off-By: YoungBok Shin(id213sin) (youngb.s...@samsung.com)
---
 src/lib/edje/edje_object.eo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo
index 3c294aa..2641ea8 100755
--- a/src/lib/edje/edje_object.eo
+++ b/src/lib/edje/edje_object.eo
@@ -172,7 +172,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File)
               If it isn't set, the default value is 1.0]]
          }
          values {
-            base_scale: double; [[The base_scale factor (the default value is 
@ 1.0,
+            base_scale: double(1.0); [[The base_scale factor (the default 
value is @ 1.0,
                                   that means the edc file is made based on 
scale 1.0.]]
          }
       }

-- 


Reply via email to