]> granicus.if.org Git - graphviz/commitdiff
cgraph
authorellson <devnull@localhost>
Thu, 23 Oct 2008 21:51:43 +0000 (21:51 +0000)
committerellson <devnull@localhost>
Thu, 23 Oct 2008 21:51:43 +0000 (21:51 +0000)
lib/gvc/gvplugin.c

index ce2b33d0669c4d55cbd045435e2b57d3b69a1dcd..47d253cb262d8afdc64dfdffeccc915fb25835ad 100644 (file)
@@ -604,7 +604,11 @@ Agraph_t * gvplugin_graph(GVC_t * gvc)
        }
     }
 
+#ifndef WITH_CGRAPH
     ssg = agsubg(g, "o_formats");
+#else
+    ssg = agsubg(g, "o_formats", 1);
+#endif
     a = agfindgraphattr(ssg, "rank");
 #ifndef WITH_CGRAPH
     agxset(ssg, a->index, "same");