aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/edje
diff options
context:
space:
mode:
authorAndrii Kroitor <an.kroitor@samsung.com>2017-10-30 13:51:17 +0200
committerAndrii Kroitor <an.kroitor@samsung.com>2017-10-30 16:44:31 +0200
commit939d16bdbffc5319faea872470d2041dda28b1e2 (patch)
treeefd50c21b3386bd004ee1b06a9743c9232b88413 /src/bin/edje
parentedje_cc: move box and table properties documentation (diff)
downloadefl-939d16bdbffc5319faea872470d2041dda28b1e2.tar.gz
edje_cc: limit map.zoom to non-negative values
@fix
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/edje_cc_handlers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index c4606db674..2b1bdad1ef 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -14226,7 +14226,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));
}
/**
@@ -14246,7 +14246,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,