]> granicus.if.org Git - graphviz/commitdiff
Fix typo; remove use of sinfo by orthoEdges
authorerg <devnull@localhost>
Sun, 7 Dec 2008 22:13:10 +0000 (22:13 +0000)
committererg <devnull@localhost>
Sun, 7 Dec 2008 22:13:10 +0000 (22:13 +0000)
lib/neatogen/neatosplines.c

index 005f2b3f849b463a8b2ec727831ee3e7c4ff95f4..6a816a9312fce1c1571f44c3d8ec105b58bb8714 100644 (file)
@@ -797,7 +797,7 @@ static int _spline_edges(graph_t * g, expand_t* pmargin, int edgetype)
     }
 #ifdef ORTHO
     else if (edgetype == ET_ORTHO) {
-       orthoEdges (g, 0, &sinfo);
+       orthoEdges (g, 0);
        useEdges = 1;
     }
 #endif
@@ -819,7 +819,7 @@ static int _spline_edges(graph_t * g, expand_t* pmargin, int edgetype)
                    P->boxes = N_NEW(agnnodes(g) + 20 * 2 * 9, boxf);
                }
                makeSelfArcs(P, e, GD_nodesep(g));
-           } else if (vconfig) { /* ET_SPLINE or ET_POLYLINE */
+           } else if (vconfig) { /* ET_SPLINE or ET_PLINE */
 #ifdef HAVE_GTS
                if ((ED_count(e) > 1) || BOUNDARY_PORT(e)) {
                    int fail = 0;