forked from enlightenment/efl
edje_cc: Don't dereference a NULL pointer on badly-formed .edj files.
(Should have been on r52931.) SVN revision: 52932
This commit is contained in:
parent
fcfaebe1e3
commit
9dc21add3a
|
@ -84,8 +84,8 @@ _edje_part_description_find(Edje *ed __UNUSED__, Edje_Real_Part *rp, const char
|
|||
for (i = 0; i < ep->other.desc_count; ++i)
|
||||
{
|
||||
d = ep->other.desc[i];
|
||||
|
||||
if (!strcmp(d->state.name, name))
|
||||
|
||||
if (d->state.name && !strcmp(d->state.name, name))
|
||||
{
|
||||
double dst;
|
||||
|
||||
|
|
Loading…
Reference in New Issue