From: Enlightenment S. <no-...@en...> - 2010-08-24 14:17:28
|
Log: * edje: add back anonymous program support. Author: cedric Date: 2010-08-24 07:17:17 -0700 (Tue, 24 Aug 2010) New Revision: 51613 Modified: trunk/edje/src/bin/edje_cc_handlers.c Modified: trunk/edje/src/bin/edje_cc_handlers.c =================================================================== --- trunk/edje/src/bin/edje_cc_handlers.c 2010-08-24 13:06:53 UTC (rev 51612) +++ trunk/edje/src/bin/edje_cc_handlers.c 2010-08-24 14:17:17 UTC (rev 51613) @@ -897,12 +897,13 @@ unsigned int i; for (i = 0; i < count; ++i) - if (pgrms[i] != me && pgrms[i]->name && (!strcmp(name, pgrms[i]->name))) - { - ERR("%s: Error. parse error %s:%i. There is already a program of the name %s\n", - progname, file_in, line - 1, name); - exit(-1); - } + if (pgrms[i]->name) + if (pgrms[i] != me && (!strcmp(name, pgrms[i]->name))) + { + ERR("%s: Error. parse error %s:%i. There is already a program of the name %s\n", + progname, file_in, line - 1, name); + exit(-1); + } } /*****/ |