]> granicus.if.org Git - graphviz/commitdiff
Check for null spline during compound edge processing.
authorerg <devnull@localhost>
Wed, 22 Jun 2005 19:20:51 +0000 (19:20 +0000)
committererg <devnull@localhost>
Wed, 22 Jun 2005 19:20:51 +0000 (19:20 +0000)
lib/dotgen/compound.c

index 43789b9feae93b7a119f91ed5580948a38ce46b5..5b844f9eaf36103c223253454d3ede379d78bdf3 100644 (file)
@@ -340,6 +340,7 @@ static void makeCompoundEdge(graph_t * g, edge_t * e)
     lt = getCluster(g, agget(e, "ltail"));
     if (!lt && !lh)
        return;
+    if (!ED_spl(e)) return;
 
     /* at present, we only handle single spline case */
     if (ED_spl(e)->size > 1) {