forked from enlightenment/efl
Revert "edje: calc - remove pointer comparison while finding part desc"
This reverts commit c892a1cb71
.
This commit is contained in:
parent
4cebfc526f
commit
18b66a3192
|
@ -461,7 +461,8 @@ _edje_part_description_find(Edje *ed, Edje_Real_Part *rp, const char *state_name
|
|||
{
|
||||
d = ep->other.desc[i];
|
||||
|
||||
if (d->state.name && (!strcmp(d->state.name, state_name)))
|
||||
if (d->state.name && (d->state.name == state_name ||
|
||||
!strcmp(d->state.name, state_name)))
|
||||
{
|
||||
if (!approximate)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue