aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-12-02 15:24:21 +0900
committerChris Michael <cp.michael@samsung.com>2015-12-03 11:31:06 -0500
commit9ef7237aa33b03848569d95a7f2efb394f19534d (patch)
treeea0180383b4b60ae4bb87b6bcda5d532107d6c56
parentevas: refactor model's savers and loaders. (diff)
downloadefl-9ef7237aa33b03848569d95a7f2efb394f19534d.tar.gz
edje cc fix - we parsed floats not intsfor min and max desc size
thanks conr2d for pointing this out - we uses the float parse func and not in parse. we should use int parse as the min and max sizes are just ints and not floats. :) @fix
-rw-r--r--src/bin/edje/edje_cc_handlers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index aba6676ebd..33c2205d82 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -7525,8 +7525,8 @@ st_collections_group_parts_part_description_min(void)
check_min_arg_count(1);
if (is_param(1)) {
- current_desc->min.w = parse_float_range(0, 0, 0x7fffffff);
- current_desc->min.h = parse_float_range(1, 0, 0x7fffffff);
+ current_desc->min.w = parse_int_range(0, 0, 0x7fffffff);
+ current_desc->min.h = parse_int_range(1, 0, 0x7fffffff);
} else {
char *tmp;
@@ -7587,8 +7587,8 @@ st_collections_group_parts_part_description_max(void)
check_min_arg_count(1);
if (is_param(1)) {
- current_desc->max.w = parse_float_range(0, -1.0, 0x7fffffff);
- current_desc->max.h = parse_float_range(1, -1.0, 0x7fffffff);
+ current_desc->max.w = parse_int_range(0, -1, 0x7fffffff);
+ current_desc->max.h = parse_int_range(1, -1, 0x7fffffff);
} else {
char *tmp;