scroll: Fix a warning (and probably the logic too)
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 19 Dec 2017 05:23:14 +0000 (14:23 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 10 Jan 2018 11:08:13 +0000 (20:08 +0900)
src/lib/elementary/efl_ui_scroll_manager.c

index a25e3db..9065c82 100644 (file)
@@ -1947,7 +1947,7 @@ _efl_ui_scroll_manager_mouse_move_event_cb(void *data,
    sd->down.history[0].y = ev->cur.canvas.y;
    sd->event_info = event_info;
 
-   if (!ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD)
+   if (!(ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD))
      evas_post_event_callback_push(e, _efl_ui_scroll_manager_post_event_move, sd);
 
    if (sd->down.dragged)