]> granicus.if.org Git - graphviz/commitdiff
Wrap map edge debug code with (DEBUG == 2)
authorerg <devnull@localhost>
Sat, 5 Dec 2009 20:13:06 +0000 (20:13 +0000)
committererg <devnull@localhost>
Sat, 5 Dec 2009 20:13:06 +0000 (20:13 +0000)
lib/common/emit.c

index 155fbdd8da9efe523f4e93a9bd4a89e2b70edaad..d5a2ee9df984a30d9a422f910e698c5e4ea728d9 100644 (file)
@@ -360,7 +360,7 @@ void update_bb_bz(boxf *bb, pointf *cp)
     }
 }
 
-#ifdef DEBUG
+#if (DEBUG==2)
 static void psmapOutput (pointf* ps, int n)
 {
    int i;
@@ -408,7 +408,7 @@ static void map_bspline_poly(pointf **pbs_p, int **pbs_n, int *pbs_poly_n, int n
         (*pbs_p)[nump+i] = p1[i];
         (*pbs_p)[nump+last-i] = p2[i];
     }
-#ifdef DEBUG
+#if (DEBUG==2)
     psmapOutput (*pbs_p + nump, last+1);
 #endif
 }