]> granicus.if.org Git - graphviz/commitdiff
Fix typos in DEBUG code
authorGlen Low <glen.low@pixelglow.com>
Mon, 5 Oct 2015 04:16:24 +0000 (12:16 +0800)
committerGlen Low <glen.low@pixelglow.com>
Mon, 5 Oct 2015 07:02:07 +0000 (15:02 +0800)
lib/dotgen/mincross.c
plugin/core/gvrender_core_pov.c

index 07d1fe80d702ecca8ad4e7bef3b06d2850abf654..e29a4cb90e0a12a29b0235a24d3004d8b41e232b 100644 (file)
@@ -1105,7 +1105,7 @@ void rec_reset_vlists(graph_t * g)
            w = furthestnode(g, v, 1);
            GD_rankleader(g)[r] = u;
 #ifdef DEBUG
-           assert(GD_rank(dot_root(g)[r].v[ND_order(u)] == u);
+           assert(GD_rank(dot_root(g))[r].v[ND_order(u)] == u);
 #endif
            GD_rank(g)[r].v = GD_rank(dot_root(g))[r].v + ND_order(u);
            GD_rank(g)[r].n = ND_order(w) - ND_order(u) + 1;
index 13ab1e58ddef7fcf64f30cdcbb6d0c839498374e..41f4576cacd982f2f6b63e54f1f54f627eb6ffcf 100644 (file)
@@ -592,7 +592,7 @@ static void pov_textspan(GVJ_t * job, pointf c, textspan_t * span)
        z = layerz - 9;
 
 #ifdef DEBUG
-       if (span->postscript_alias)
+       if (span->font->postscript_alias)
                gvputs(job, "// Warning: postscript_alias not handled!\n");
 #endif