1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-22 01:32:50 +02:00

fix a few whitespace issues in previous commit

This commit is contained in:
Werner Almesberger 2017-01-22 13:20:11 -03:00
parent 7081258910
commit 103933acf5
3 changed files with 5 additions and 5 deletions

1
README
View File

@ -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
View File

@ -183,7 +183,7 @@ void write_geda(void)
free(name);
} else {
if (!geda(stdout, NULL))
perror("stdout");
perror("stdout");
}
}

7
geda.c
View File

@ -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)