test_dnd.c: compare a flag correctly.

This fixes coverity CID 1040041 Wrong operator used (CONSTANT_EXPRESSION_RESULT).
This commit is contained in:
Daniel Juyung Seo 2013-08-11 15:53:31 +09:00
parent 471b01c360
commit aa5077532d
1 changed files with 1 additions and 1 deletions

View File

@ -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);