From: Enlightenment S. <no-...@en...> - 2010-09-03 14:37:54
|
Log: Don't put nulls in the list of programs, makes little sense. Author: sachiel Date: 2010-09-03 07:37:42 -0700 (Fri, 03 Sep 2010) New Revision: 51863 Modified: trunk/edje/src/lib/edje_edit.c Modified: trunk/edje/src/lib/edje_edit.c =================================================================== --- trunk/edje/src/lib/edje_edit.c 2010-09-03 13:39:53 UTC (rev 51862) +++ trunk/edje/src/lib/edje_edit.c 2010-09-03 14:37:42 UTC (rev 51863) @@ -4959,6 +4959,9 @@ Edje_Program *epr; epr = ed->table_programs[i]; + /* XXX: bad, we miss programs this way, but since you can't access + * them in any way without a name, better ignore them. */ + if (!epr->name) continue; progs = eina_list_append(progs, eina_stringshare_add(epr->name)); } |