Corrected bug that made the N transistor look like P transistors and
vice-versa.
This commit is contained in:
parent
91c51cab6f
commit
056ab8754b
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue