[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: pcb: experience with import-schematics
DJ Delorie wrote:
> Yes please, with "git format-patch" if you can.
Here you go. I tried to follow the recipe in
http://www.geda.seul.org/wiki/geda:scm#format_a_patch_to_send_to_the_developers
Hope, I didn't mess it.
---<)kaimartin(>---
--
Kai-Martin Knaak tel: +49-511-762-2895
UniversitÃt Hannover, Inst. fÃr Quantenoptik fax: +49-511-762-2211
Welfengarten 1, 30167 Hannover http://www.iqo.uni-hannover.de
GPG key: http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get
From 4ce29f9f8d79abd10e1b94c92e265c6affec905c Mon Sep 17 00:00:00 2001
From: kai-martin <kmk@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Aug 2010 11:25:52 +0200
Subject: [PATCH] modified: action.c (fix element name position on import schematic)
---
src/action.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/action.c b/src/action.c
index 5f1c7a1..12745d1 100644
--- a/src/action.c
+++ b/src/action.c
@@ -7112,8 +7112,8 @@ ActionElementList (int argc, char **argv, int x, int y)
for (i=0; i<MAX_ELEMENTNAMES; i++)
{
- pe->Name[i].X = e->Name[i].X - mx;
- pe->Name[i].Y = e->Name[i].Y - my;
+ pe->Name[i].X = e->Name[i].X - mx + pe->MarkX ;
+ pe->Name[i].Y = e->Name[i].Y - my + pe->MarkY ;
pe->Name[i].Direction = e->Name[i].Direction;
pe->Name[i].Scale = e->Name[i].Scale;
}
--
1.7.1
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user