From 83b67dd1a67dad0c2a66981a80c5374d07e5f6b3 Mon Sep 17 00:00:00 2001 From: Eunmi Lee Date: Wed, 1 Sep 2010 12:16:35 +0900 Subject: [PATCH] [els_touch]set flick's endtime as current time --- src/lib/els_touch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/els_touch.c b/src/lib/els_touch.c index 4a6f6f0..41d1744 100644 --- a/src/lib/els_touch.c +++ b/src/lib/els_touch.c @@ -1334,7 +1334,7 @@ _smart_start_flick(Smart_Data *sd) int index = sd->last_move_history_index; int todo = sd->move_history_count > MOVE_HISTORY_SIZE ? MOVE_HISTORY_SIZE : sd->move_history_count; Mouse_Diff_Data *p; - double endTime = (sd->move_history + index)->time; + double endTime = ecore_time_get(); double startTime = endTime; for( ; todo > 0; todo--) { p = sd->move_history + index; // get one sd->move_history -- 2.7.4