]> granicus.if.org Git - graphviz/commitdiff
more cgraph merging
authorellson <devnull@localhost>
Wed, 15 Oct 2008 12:57:08 +0000 (12:57 +0000)
committerellson <devnull@localhost>
Wed, 15 Oct 2008 12:57:08 +0000 (12:57 +0000)
lib/common/routespl.c

index c1350158007aeac69b66633a47d6f048dd20b2de..1f569897af6bb66720eab775ca4d016d116149b2 100644 (file)
@@ -322,11 +322,7 @@ static pointf *_routesplines(path * pp, int *npoints, int polyline)
     }
     else flip = 0;
 
-#ifndef WITH_CGRAPH
-    if (realedge->tail != realedge->head) {
-#else /* WITH_CGRAPH */
     if (agtail(realedge) != aghead(realedge)) {\r
-#endif /* WITH_CGRAPH */
        /* I assume that the path goes either down only or
           up - right - down */
        for (bi = 0, pi = 0; bi < boxn; bi++) {