From 443012dbcb3de397e536ec2afac0273b7e8cfff9 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 14 Oct 2013 14:00:59 +0200 Subject: [PATCH] edje: typo fix. --- src/bin/edje/edje_cc_handlers.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index 9ad50f6..dc9a024 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -4966,8 +4966,7 @@ _copied_map_colors_get(Edje_Part_Description_Common *parent) int i; if (parent->map.colors_count == 0) return NULL; - colors = (Edje_Map_Color **) malloc(sizeof(Edje_Map_Color **) * - parent->map.colors_count); + colors = malloc(sizeof(Edje_Map_Color *) * parent->map.colors_count); for (i = 0; i < (int)parent->map.colors_count; i++) { @@ -5192,7 +5191,7 @@ st_collections_group_parts_part_description_inherit(void) if (min_dst) { WRN("%s:%i: couldn't find an exact match in part '%s' when looking for '%s' %lf. Falling back to nearest one '%s' %lf.", - file_in, line - 1, ep->name, parent_name, parent_val, parent ? parent->state.name : NULL, parent ? parent->state.value : NULL); + file_in, line - 1, ep->name, parent_name, parent_val, parent ? parent->state.name : NULL, parent ? parent->state.value : 0); } } -- 2.7.4