Commit fb52997c authored by faa's avatar faa

eeschema: plot minor bug

parent ef557ddb
...@@ -798,6 +798,7 @@ void LibDrawPin::PlotPinTexts( PLOTTER *plotter, ...@@ -798,6 +798,7 @@ void LibDrawPin::PlotPinTexts( PLOTTER *plotter,
GR_TEXT_VJUSTIFY_CENTER, GR_TEXT_VJUSTIFY_CENTER,
aWidth, false, false ); aWidth, false, false );
} }
}
if( DrawPinNum ) if( DrawPinNum )
{ {
plotter->text( wxPoint( (x1 + pin_pos.x) / 2, plotter->text( wxPoint( (x1 + pin_pos.x) / 2,
...@@ -809,7 +810,6 @@ void LibDrawPin::PlotPinTexts( PLOTTER *plotter, ...@@ -809,7 +810,6 @@ void LibDrawPin::PlotPinTexts( PLOTTER *plotter,
aWidth, false, false ); aWidth, false, false );
} }
} }
}
else /* Its a vertical line. */ else /* Its a vertical line. */
{ {
if( orient == PIN_DOWN ) if( orient == PIN_DOWN )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment