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.shin@samsung.com)
This commit is contained in:
ChunEon Park 2015-07-15 12:22:41 +09:00
parent a1bac6be1b
commit 9027cde720
1 changed files with 1 additions and 1 deletions

View File

@ -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.]]
}
}