summaryrefslogtreecommitdiff
path: root/kicad/lib-render.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-07 22:26:44 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-07 22:31:18 -0300
commit2a64264e445dd46121c1e966bbe1d2b44b29d33f (patch)
tree76dd5225c653bdb983a1c7b7a241fff5570086c7 /kicad/lib-render.c
parentdafe079f9bd26ee63e685db638d578236abd6eb3 (diff)
downloadeeshow-2a64264e445dd46121c1e966bbe1d2b44b29d33f.tar.gz
eeshow-2a64264e445dd46121c1e966bbe1d2b44b29d33f.tar.bz2
eeshow-2a64264e445dd46121c1e966bbe1d2b44b29d33f.zip
fix numerous whitespace atrocities
- trailing spaces - trailing tabs - space before tab - more than four spaces ... - at the beginning of a line - after tab - in general (okay in many cases, but not all) - caught a stray blank line as well
Diffstat (limited to 'kicad/lib-render.c')
-rw-r--r--kicad/lib-render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kicad/lib-render.c b/kicad/lib-render.c
index 88a161d..88691ec 100644
--- a/kicad/lib-render.c
+++ b/kicad/lib-render.c
@@ -324,10 +324,10 @@ static void draw_pin_line(const struct lib_pin *pin, struct gfx *gfx,
int len = pin->length;
int x[4], y[4];
int ex, ey;
+
if ((shape & pin_inverted) || (shape & pin_falling_edge))
len = pin->length - 2 * PIN_R;
-
x[0] = pin->x;
y[0] = pin->y;
x[1] = pin->x + dx * len;