raster pushed a commit to branch efl-1.20.

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

commit fac8880083ee2843eb45c3d27b68752c419bb77f
Author: Andrii Kroitor <[email protected]>
Date:   Mon Oct 30 13:51:17 2017 +0200

    edje_cc: limit map.zoom to non-negative values
    
    @fix
---
 src/bin/edje/edje_cc_handlers.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 55e2d5662c..0219a182af 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -14120,7 +14120,7 @@ 
st_collections_group_parts_part_description_map_zoom_x(void)
 {
    check_arg_count(1);
 
-   current_desc->map.zoom.x = FROM_DOUBLE(parse_float(0));
+   current_desc->map.zoom.x = FROM_DOUBLE(parse_float_range(0, 0.0, 
999999999.0));
 }
 
 /**
@@ -14140,7 +14140,7 @@ 
st_collections_group_parts_part_description_map_zoom_y(void)
 {
    check_arg_count(1);
 
-   current_desc->map.zoom.y = FROM_DOUBLE(parse_float(0));
+   current_desc->map.zoom.y = FROM_DOUBLE(parse_float_range(0, 0.0, 
999999999.0));
 }
 
 /** @edcsubsection{collections_group_parts_description_map_rotation,

-- 


Reply via email to