cedric pushed a commit to branch master.

commit 244cca7503468785be9fceb08cb32c47aaa987b7
Author: Cedric Bail <[email protected]>
Date:   Sun Apr 7 20:35:09 2013 +0900

    evas: revert useless change.
---
 src/lib/evas/canvas/evas_object_smart.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_smart.c 
b/src/lib/evas/canvas/evas_object_smart.c
index 606251b..19ecf3d 100644
--- a/src/lib/evas/canvas/evas_object_smart.c
+++ b/src/lib/evas/canvas/evas_object_smart.c
@@ -1608,8 +1608,8 @@ evas_object_smart_render_pre(Evas_Object *eo_obj, 
Evas_Object_Protected_Data *ob
                        int speed_x, speed_y;
                        int speed_px, speed_py;
 
-                       speed_x = os->geometry.x - obj->prev->geometry.x;
-                       speed_y = os->geometry.y - obj->prev->geometry.y;
+                       speed_x = obj->cur->geometry.x - obj->prev->geometry.x;
+                       speed_y = obj->cur->geometry.y - obj->prev->geometry.y;
 
                        speed_px = obj->smart.parent->cur.geometry.x - 
obj->smart.parent->prev.geometry.x;
                        speed_py = obj->smart.parent->cur.geometry.y - 
obj->smart.parent->prev.geometry.y;

-- 

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

Reply via email to