]> granicus.if.org Git - graphviz/commitdiff
Fix bug 1834
authorerg <devnull@localhost>
Thu, 17 Dec 2009 21:31:19 +0000 (21:31 +0000)
committererg <devnull@localhost>
Thu, 17 Dec 2009 21:31:19 +0000 (21:31 +0000)
lib/sfdpgen/sfdpinit.c

index 0c9525c4bb9b35cb66624b4e2dd021457c44e14d..6116f22952585c4d113d552a9a3daf6e1a05ac14 100644 (file)
@@ -263,7 +263,11 @@ void sfdp_layout(graph_t * g)
        spring_electrical_control ctrl = spring_electrical_control_new();
 
        tuneControl (g, ctrl);
+#if (HAVE_GTS || HAVE_TRIANGLE)
        graphAdjustMode(g, &am, "prism0");
+#else
+       graphAdjustMode(g, &am, 0);
+#endif
 
        if ((am.mode == AM_PRISM) && doAdjust) {
            doAdjust = 0;  /* overlap removal done in sfpd */