Corrected bug that made the N transistor look like P transistors and

vice-versa.
This commit is contained in:
Frederic Petrot 2003-01-10 13:33:20 +00:00
parent 91c51cab6f
commit 056ab8754b
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ static void XschDrawTransistor( X1r, Y1r, X2r, Y2r, Ycr, Obj )
XschDrawGC, XschDrawGC,
x1, y0 - cs, x1, y2 + cs ); x1, y0 - cs, x1, y2 + cs );
if ( ( Obj->ARG1 ) == 0 ) if ( ( Obj->ARG1 ) == 1 ) /* This is TRANSN */
{ {
/* Output line : centered vertically */ /* Output line : centered vertically */
XDrawLine( XschGraphicDisplay, XschGraphicPixmap, XschDrawGC, XDrawLine( XschGraphicDisplay, XschGraphicPixmap, XschDrawGC,