[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[E-devel] Typo fix for Evas_Object_Line



Hi,

	I just found a typo in evas_object_line.c, where y2 == y1 in all case. Just 
attached a small one char patch.

Cedric
Index: src/lib/canvas/evas_object_line.c
===================================================================
RCS file: /var/cvs/e/e17/libs/evas/src/lib/canvas/evas_object_line.c,v
retrieving revision 1.19
diff -u -r1.19 evas_object_line.c
--- src/lib/canvas/evas_object_line.c	16 Nov 2006 03:20:24 -0000	1.19
+++ src/lib/canvas/evas_object_line.c	27 Dec 2006 16:24:28 -0000
@@ -459,7 +459,7 @@
 
    o = (Evas_Object_Line *)(obj->object_data);
    o->cur.cache.x1 = obj->cur.geometry.x + o->cur.x1;
-   o->cur.cache.y1 = obj->cur.geometry.y + o->cur.y2;
+   o->cur.cache.y1 = obj->cur.geometry.y + o->cur.y1;
    o->cur.cache.x2 = obj->cur.geometry.x + o->cur.x2;
    o->cur.cache.y2 = obj->cur.geometry.y + o->cur.y2;
 ////   o->cur.cache.x1 = evas_coord_world_x_to_screen(obj->layer->evas, obj->cur.geometry.x + o->cur.x1);