Revert "edje: calc - remove pointer comparison while finding part desc"

This reverts commit c892a1cb71.
This commit is contained in:
Amitesh Singh 2015-12-09 21:29:42 +05:30
parent 4cebfc526f
commit 18b66a3192
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{