projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c6edc4
)
diskselector: Compare correct variables.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Thu, 20 Mar 2014 15:46:47 +0000
(
00:46
+0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Thu, 20 Mar 2014 17:41:37 +0000
(
02:41
+0900)
It was comparing the same variable.
Fixed coverity CID
1193236
: Pointless string comparison
(CONSTANT_EXPRESSION_RESULT)
@fix
src/lib/elm_diskselector.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_diskselector.c
b/src/lib/elm_diskselector.c
index 8a00fffc10d4051727ff12c72949e5ea7ca2e4a4..dfde8cd6471d8e08291f64551ae23dc64e4558a4 100644
(file)
--- a/
src/lib/elm_diskselector.c
+++ b/
src/lib/elm_diskselector.c
@@
-63,7
+63,7
@@
_selected_item_indicate(Elm_Diskselector_Item *item)
EINA_LIST_FOREACH(sd->r_items, l, it)
{
- if (it->label && !strcmp(it->label, it->label))
+ if (it->label && !strcmp(it->label, it
em
->label))
edje_object_signal_emit(VIEW(it), "elm,state,selected", "elm");
else
edje_object_signal_emit(VIEW(it), "elm,state,default", "elm");