]> granicus.if.org Git - graphviz/commitdiff
Use GD_gvc(g) when saving gvc
authorellson <devnull@localhost>
Mon, 18 Jul 2005 19:14:37 +0000 (19:14 +0000)
committerellson <devnull@localhost>
Mon, 18 Jul 2005 19:14:37 +0000 (19:14 +0000)
lib/gvc/gvlayout.c

index ab4ce5bccdb1373ef25ce26e0727903942cf37da..e497d097b2d410e5166e213ff21249015b9998ac 100644 (file)
@@ -59,7 +59,7 @@ void gvlayout_layout(GVC_t * gvc, graph_t * g)
     gvlayout_engine_t *gvle = gvc->layout.engine;
 
     graph_init(g, gvc->layout.features->flags & LAYOUT_USES_RANKDIR);
-    g->u.gvc = gvc;
+    GD_gvc(g) = gvc;
 
     if (gvle && gvle->layout)
        gvle->layout(g);