From 056ab8754bb1f8706b0d39a4376f6cde6b77c766 Mon Sep 17 00:00:00 2001 From: Frederic Petrot Date: Fri, 10 Jan 2003 13:33:20 +0000 Subject: [PATCH] Corrected bug that made the N transistor look like P transistors and vice-versa. --- alliance/src/xsch/src/XMX_view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alliance/src/xsch/src/XMX_view.c b/alliance/src/xsch/src/XMX_view.c index 9ff65968..10cb2ed1 100644 --- a/alliance/src/xsch/src/XMX_view.c +++ b/alliance/src/xsch/src/XMX_view.c @@ -750,7 +750,7 @@ static void XschDrawTransistor( X1r, Y1r, X2r, Y2r, Ycr, Obj ) XschDrawGC, x1, y0 - cs, x1, y2 + cs ); - if ( ( Obj->ARG1 ) == 0 ) + if ( ( Obj->ARG1 ) == 1 ) /* This is TRANSN */ { /* Output line : centered vertically */ XDrawLine( XschGraphicDisplay, XschGraphicPixmap, XschDrawGC,