forked from enlightenment/efl
test_dnd.c: compare a flag correctly.
This fixes coverity CID 1040041 Wrong operator used (CONSTANT_EXPRESSION_RESULT).
This commit is contained in:
parent
471b01c360
commit
aa5077532d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue