From: Enlightenment S. <no-...@en...> - 2008-11-05 16:08:47
|
Log: for some reason this was being NULL to me. it was crashing on group changing. Author: barbieri Date: 2008-11-05 08:08:39 -0800 (Wed, 05 Nov 2008) New Revision: 37473 Modified: trunk/edje/src/lib/edje_edit.c Modified: trunk/edje/src/lib/edje_edit.c =================================================================== --- trunk/edje/src/lib/edje_edit.c 2008-11-05 12:41:43 UTC (rev 37472) +++ trunk/edje/src/lib/edje_edit.c 2008-11-05 16:08:39 UTC (rev 37473) @@ -4109,7 +4109,7 @@ for (i = 0; i < ed->table_programs_size; i++) { epr = ed->table_programs[i]; - if (strcmp(epr->name, prog_name) == 0) + if ((epr->name) && (strcmp(epr->name, prog_name) == 0)) return epr; } return NULL; |