projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20ef85e
)
edje: calc - remove pointer comparison while finding part desc
author
Amitesh Singh
<amitesh.sh@samsung.com>
Wed, 9 Dec 2015 10:16:41 +0000
(15:46 +0530)
committer
Amitesh Singh
<amitesh.sh@samsung.com>
Wed, 9 Dec 2015 10:20:03 +0000
(15:50 +0530)
Only strcmp comparision is realiable.
@fix
src/lib/edje/edje_calc.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_calc.c
b/src/lib/edje/edje_calc.c
index
b0742cf
..
c06e3ac
100644
(file)
--- a/
src/lib/edje/edje_calc.c
+++ b/
src/lib/edje/edje_calc.c
@@
-460,8
+460,7
@@
_edje_part_description_find(Edje *ed, Edje_Real_Part *rp, const char *state_name
{
d = ep->other.desc[i];
- if (d->state.name && (d->state.name == state_name ||
- !strcmp(d->state.name, state_name)))
+ if (d->state.name && (!strcmp(d->state.name, state_name)))
{
if (!approximate)
{