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