From 45314910477f2ba6e8043985767f9f38ef8ae2c8 Mon Sep 17 00:00:00 2001 From: cedric Date: Sun, 24 Jun 2012 06:01:12 +0000 Subject: [PATCH] edje: Resistance is futile. The B0rk. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@72754 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/edje_cc_out.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/bin/edje_cc_out.c b/src/bin/edje_cc_out.c index f9533b5..6eee5a6 100644 --- a/src/bin/edje_cc_out.c +++ b/src/bin/edje_cc_out.c @@ -2144,15 +2144,15 @@ data_process_lookups(void) } else { - char *aliased; - aliased = eina_hash_find(part->pc->aliased, part->name); - if (!aliased) - aliased = part->name; + char *alias; + alias = eina_hash_find(part->pc->alias, part->name); + if (!alias) + alias = part->name; for (i = 0; i < part->pc->parts_count; ++i) { ep = part->pc->parts[i]; - if ((ep->name) && (!strcmp(ep->name, aliased))) + if ((ep->name) && (!strcmp(ep->name, alias))) { handle_slave_lookup(part_slave_lookups, part->dest, ep->id); *(part->dest) = ep->id; @@ -2162,8 +2162,8 @@ data_process_lookups(void) if (i == part->pc->parts_count) { - ERR("%s: Error. Unable to find part name \"%s\".", - progname, part->name); + ERR("%s: Error. Unable to find part name \"%s\" needed in group '%s'.", + progname, alias, part->pc->part); exit(-1); } } -- 2.7.4