seoz pushed a commit to branch master.
commit 9fc7de25024d057bde4c411c1a9f1b06e5b6c3d9
Author: Daniel Juyung Seo <[email protected]>
Date: Sun Aug 11 15:53:31 2013 +0900
test_dnd.c: compare a flag correctly.
This fixes coverity CID 1040041 Wrong operator used
(CONSTANT_EXPRESSION_RESULT).
---
src/bin/test_dnd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/test_dnd.c b/src/bin/test_dnd.c
index 86440b2..3ccb130 100644
--- 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);
--
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk