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:
7ef4dc6
)
test_dnd.c: compare a flag correctly.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Sun, 11 Aug 2013 06:53:31 +0000
(15:53 +0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Sun, 11 Aug 2013 06:53:31 +0000
(15:53 +0900)
This fixes coverity CID
1040041
Wrong operator used (CONSTANT_EXPRESSION_RESULT).
src/bin/test_dnd.c
patch
|
blob
|
history
diff --git
a/src/bin/test_dnd.c
b/src/bin/test_dnd.c
index 86440b2ffee41a958dcff53651ba17e57030dbce..3ccb130a54657cb1827841e29f6ee29633e44039 100644
(file)
--- a/
src/bin/test_dnd.c
+++ b/
src/bin/test_dnd.c
@@
-340,7
+340,7
@@
_gl_obj_mouse_move(
void *event_info)
{ /* Cancel any drag waiting to start on timeout */
- if (((Evas_Event_Mouse_Move *)event_info)->event_flags
|
EVAS_EVENT_FLAG_ON_HOLD)
+ if (((Evas_Event_Mouse_Move *)event_info)->event_flags
&
EVAS_EVENT_FLAG_ON_HOLD)
{
drag_anim_st *anim_st = data;
anim_st_free(anim_st);