r5734 - trunk/eda/fped

werner at docs.openmoko.org werner at docs.openmoko.org
Tue Dec 1 14:16:47 CET 2009


Author: werner
Date: 2009-12-01 14:16:47 +0100 (Tue, 01 Dec 2009)
New Revision: 5734

Modified:
   trunk/eda/fped/gui_canvas.c
Log:
The absolute Y position in the status bar was actually the X position. Oopsie.

- gui_canvas.c (update_pos): display pos.y and not pos.x in the sys_y field



Modified: trunk/eda/fped/gui_canvas.c
===================================================================
--- trunk/eda/fped/gui_canvas.c	2009-12-01 13:16:36 UTC (rev 5733)
+++ trunk/eda/fped/gui_canvas.c	2009-12-01 13:16:47 UTC (rev 5734)
@@ -56,7 +56,7 @@
 static void update_pos(struct coord pos)
 {
 	set_with_units(status_set_sys_x, "X ", pos.x);
-	set_with_units(status_set_sys_y, "Y ", pos.x);
+	set_with_units(status_set_sys_y, "Y ", pos.y);
 	set_with_units(status_set_user_x, "x ", pos.x-user_origin.x);
 	set_with_units(status_set_user_y, "y ", pos.y-user_origin.y);
 }




More information about the commitlog mailing list