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:
4cebfc5
)
Revert "edje: calc - remove pointer comparison while finding part desc"
author
Amitesh Singh
<amitesh.sh@samsung.com>
Wed, 9 Dec 2015 15:59:42 +0000
(21:29 +0530)
committer
Amitesh Singh
<amitesh.sh@samsung.com>
Wed, 9 Dec 2015 15:59:42 +0000
(21:29 +0530)
This reverts commit
c892a1cb714fed496cbf5568c4d43880b6fb67b2
.
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
ff2146d
..
0505580
100644
(file)
--- a/
src/lib/edje/edje_calc.c
+++ b/
src/lib/edje/edje_calc.c
@@
-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)
{