From 368715e1823c009db260077f6b1f6586f25afc1c Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 23 Oct 2008 21:51:43 +0000 Subject: [PATCH] cgraph --- lib/gvc/gvplugin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/gvc/gvplugin.c b/lib/gvc/gvplugin.c index ce2b33d06..47d253cb2 100644 --- a/lib/gvc/gvplugin.c +++ b/lib/gvc/gvplugin.c @@ -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"); -- 2.40.0