]> granicus.if.org Git - graphviz/commitdiff
Fix typo.
authorEmden R. Gansner <erg@alum.mit.edu>
Mon, 28 Jul 2014 21:20:50 +0000 (17:20 -0400)
committerEmden R. Gansner <erg@alum.mit.edu>
Mon, 28 Jul 2014 21:20:50 +0000 (17:20 -0400)
lib/neatogen/neatoinit.c

index 792e95580c190b6deebe3b1f483700154443d32c..b8178b4861df43f245e637754d7e0be067ed9a89 100644 (file)
@@ -1460,8 +1460,8 @@ void neato_layout(Agraph_t * g)
                    neatoLayout(g, gc, layoutMode, model, &am);
                    removeOverlapWith(gc, &am);
                    setEdgeType (gc, ET_LINE);
-                   if (noTranslate) doEdges(g);
-                   else spline_edges(g);
+                   if (noTranslate) doEdges(gc);
+                   else spline_edges(gc);
                }
                if (pin) {
                    bp = N_NEW(n_cc, boolean);