]> granicus.if.org Git - graphviz/commitdiff
Fix DEBUG granularity
authorerg <devnull@localhost>
Sat, 5 Dec 2009 22:33:14 +0000 (22:33 +0000)
committererg <devnull@localhost>
Sat, 5 Dec 2009 22:33:14 +0000 (22:33 +0000)
lib/common/htmltable.c

index 03fff1f9187295eceaed3d40f2ab53b352802224..9420daec202294b0286363994c4d426864ac311a 100644 (file)
@@ -1169,7 +1169,7 @@ void makeGraphs(htmltbl_t * tbl, graph_t * rowg, graph_t * colg)
             x += minc[cp->col + c];
        ED_minlen(e) = x;
        /* ED_minlen(e) = cp->data.box.UR.x; */
-#ifdef DEBUG
+#if (DEBUG==2)
        fprintf(stderr, "col edge %s -> %s %d\n", t->name, h->name,
                ED_minlen(e));
 #endif
@@ -1188,7 +1188,7 @@ void makeGraphs(htmltbl_t * tbl, graph_t * rowg, graph_t * colg)
             y += minr[cp->row + r];
        ED_minlen(e) = y;
        /* ED_minlen(e) = cp->data.box.UR.y; */
-#ifdef DEBUG
+#if (DEBUG==2)
        fprintf(stderr, "row edge %s -> %s %d\n", agnameof(t), agnameof(h),
                ED_minlen(e));
 #endif