[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (33b29abb66fb6d620a5902e77448c1fbf787c8b7)
The branch, master has been updated
via 33b29abb66fb6d620a5902e77448c1fbf787c8b7 (commit)
from 8f43b3b2b7a207edf02d27140f5145930b19559e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/file.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
=================
Commit Messages
=================
commit 33b29abb66fb6d620a5902e77448c1fbf787c8b7
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
file.c: Write out correct cursor location in the PCB file
:100644 100644 6363bf4... 8a52614... M src/file.c
=========
Changes
=========
commit 33b29abb66fb6d620a5902e77448c1fbf787c8b7
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
file.c: Write out correct cursor location in the PCB file
diff --git a/src/file.c b/src/file.c
index 6363bf4..8a52614 100644
--- a/src/file.c
+++ b/src/file.c
@@ -534,8 +534,8 @@ WritePCBDataHeader (FILE * FP)
fprintf (FP, "Grid[%s %i %i %i]\n",
c_dtostr (PCB->Grid), (int) PCB->GridOffsetX,
(int) PCB->GridOffsetY, (int) Settings.DrawGrid);
- fprintf (FP, "Cursor[%i %i %s]\n", (int) TO_PCB_X (Output.Width / 2),
- (int) TO_PCB_Y (Output.Height / 2), c_dtostr (PCB->Zoom));
+ fprintf (FP, "Cursor[%i %i %s]\n",
+ Crosshair.X, Crosshair.Y, c_dtostr (PCB->Zoom));
fprintf (FP, "PolyArea[%s]\n", c_dtostr (PCB->IsleArea));
fprintf (FP, "Thermal[%s]\n", c_dtostr (PCB->ThermScale));
fprintf (FP, "DRC[%i %i %i %i %i %i]\n", PCB->Bloat, PCB->Shrink,
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs