From fb52997c85123fd76ee5958d1a399570164ccba8 Mon Sep 17 00:00:00 2001 From: faa Date: Fri, 25 Sep 2009 13:59:42 +0000 Subject: [PATCH] eeschema: plot minor bug --- eeschema/class_pin.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/eeschema/class_pin.cpp b/eeschema/class_pin.cpp index d75b62c277..6c66f4d9f9 100644 --- a/eeschema/class_pin.cpp +++ b/eeschema/class_pin.cpp @@ -798,16 +798,16 @@ void LibDrawPin::PlotPinTexts( PLOTTER *plotter, GR_TEXT_VJUSTIFY_CENTER, aWidth, false, false ); } - if( DrawPinNum ) - { - plotter->text( wxPoint( (x1 + pin_pos.x) / 2, - y1 - TXTMARGE ), - NumColor, StringPinNum, - TEXT_ORIENT_HORIZ, PinNumSize, - GR_TEXT_HJUSTIFY_CENTER, - GR_TEXT_VJUSTIFY_BOTTOM, - aWidth, false, false ); - } + } + if( DrawPinNum ) + { + plotter->text( wxPoint( (x1 + pin_pos.x) / 2, + y1 - TXTMARGE ), + NumColor, StringPinNum, + TEXT_ORIENT_HORIZ, PinNumSize, + GR_TEXT_HJUSTIFY_CENTER, + GR_TEXT_VJUSTIFY_BOTTOM, + aWidth, false, false ); } } else /* Its a vertical line. */