mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-21 20:14:05 +02:00
fix a few whitespace issues in previous commit
This commit is contained in:
parent
7081258910
commit
103933acf5
1
README
1
README
@ -95,6 +95,7 @@ offset centre holes are not faithfully reproduced; the pad is exported
|
||||
with minimum dimensions and centred on the hole. Trapezoidal and
|
||||
roundrect pads are not supported in gEDA.
|
||||
|
||||
|
||||
Footprint definition file format
|
||||
--------------------------------
|
||||
|
||||
|
2
file.c
2
file.c
@ -183,7 +183,7 @@ void write_geda(void)
|
||||
free(name);
|
||||
} else {
|
||||
if (!geda(stdout, NULL))
|
||||
perror("stdout");
|
||||
perror("stdout");
|
||||
}
|
||||
}
|
||||
|
||||
|
7
geda.c
7
geda.c
@ -75,14 +75,14 @@ static void geda_pad_start_finish(struct coord a, struct coord b,
|
||||
start->x = center.x;
|
||||
finish->y = (max.y - size.x/2);
|
||||
finish->x = center.x;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void do_geda_drill(FILE *file, const struct inst *pad, struct coord *padSize)
|
||||
{
|
||||
const struct inst *hole = pad->u.pad.hole;
|
||||
struct coord center, size;
|
||||
|
||||
|
||||
if (!hole)
|
||||
return;
|
||||
|
||||
@ -187,7 +187,7 @@ static void geda_circ(FILE *file, const struct inst *inst)
|
||||
units_to_geda(inst->base.x),
|
||||
-units_to_geda(inst->base.y),
|
||||
units_to_geda(inst->u.arc.r),
|
||||
units_to_geda(inst->u.arc.r),
|
||||
units_to_geda(inst->u.arc.r),
|
||||
units_to_geda(inst->u.arc.width));
|
||||
}
|
||||
|
||||
@ -198,7 +198,6 @@ static void geda_arc(FILE *file, const struct inst *inst)
|
||||
|
||||
/*
|
||||
* Xcenter, Ycenter, Width, Height, startAngle, stopAngle, Width
|
||||
*
|
||||
*/
|
||||
b = inst->u.arc.a1 - 180;
|
||||
while (b <= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user