summaryrefslogtreecommitdiff
path: root/kicad/lib-render.c
diff options
context:
space:
mode:
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;