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
This commit is contained in:
Carsten Haitzler 2015-12-02 15:24:21 +09:00
parent 32c33ed64d
commit ea7394a491
1 changed files with 4 additions and 4 deletions

View File

@ -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;