From: erg Date: Sat, 5 Dec 2009 20:13:06 +0000 (+0000) Subject: Wrap map edge debug code with (DEBUG == 2) X-Git-Tag: LAST_LIBGRAPH~32^2~1534 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f10b9d4cbfb62c17558f8334a3dfa0aa4cffe29;p=graphviz Wrap map edge debug code with (DEBUG == 2) --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 155fbdd8d..d5a2ee9df 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -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 }