projects
/
profile
/
tv
/
apps
/
native
/
air_apps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d9aace
)
Fixed a defect on comparing the result of strcmp
65/142665/1
tizen
author
Kyuho Jo
<kyuho.jo@samsung.com>
Mon, 7 Aug 2017 03:19:09 +0000
(12:19 +0900)
committer
Kyuho Jo
<kyuho.jo@samsung.com>
Mon, 7 Aug 2017 03:19:09 +0000
(12:19 +0900)
Change-Id: Ie02b277d96a801144ec2ad052991042efede5644
src/grid/grid.c
patch
|
blob
|
history
diff --git
a/src/grid/grid.c
b/src/grid/grid.c
index c3c9b74a0184146b116c1995af76d017b99508c1..705824895d3dfe958281d25b7ca664b9c45c3dd7 100644
(file)
--- a/
src/grid/grid.c
+++ b/
src/grid/grid.c
@@
-134,7
+134,7
@@
static Eina_Bool _state_get(void *data, Evas_Object *obj, const char *part)
if (!strcmp(part, STATE_BROWSER))
return !strcmp(id, APP_ID_BROWSER);
else if (!strcmp(part, STATE_NOT_BROWSER))
- return
strcmp(id, APP_ID_BROWSER)
;
+ return
(strcmp(id, APP_ID_BROWSER)==0)?EINA_FALSE:EINA_TRUE
;
return EINA_FALSE;
}