]> granicus.if.org Git - graphviz/commitdiff
cgraph fixes
authorellson <devnull@localhost>
Thu, 23 Oct 2008 03:45:23 +0000 (03:45 +0000)
committerellson <devnull@localhost>
Thu, 23 Oct 2008 03:45:23 +0000 (03:45 +0000)
lib/dotgen/sameport.c

index a01c7c1bafb38b87d17ffd53a71e5557989be213..a27a3144e8c879179ddb1679323094a219c85689 100644 (file)
@@ -60,7 +60,7 @@ void dot_sameports(graph_t * g)
 #ifndef WITH_CGRAPH
                (id = agxget(e, E_samehead->index))[0])
 #else /* WITH_CGRAPH */
-               (id = agxget(e, E_sametail->index))[0])
+               (id = agxget(e, E_sametail))[0])
 #endif /* WITH_CGRAPH */
                sameedge(same, n, e, id);
            else if (agtail(e) == n && E_sametail &&