summaryrefslogtreecommitdiff
path: root/cad/xcircuit/patches/patch-ae
blob: 1b29d0f5d809d4b46ebac7e8b63411150ac79320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ae,v 1.1 2003/07/10 08:03:58 jtb Exp $

--- elements.c.orig
+++ elements.c
@@ -436,7 +436,7 @@
 	 freelabel(labelbuf);
 	 labelbuf = NULL;
 	 resolveparams(areastruct.topinstance);
-	 if (do_all >= 0)
+	 if (do_all > 0)
             updateinstparam(areastruct.topinstance, do_all);
 	 else /* do_all == -1 */
 	    calcbbox(areastruct.topinstance);