From 19be6e46f46838d07ec1d6042a16469f6ca1fc22 Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 27 Oct 2006 15:00:31 +0000 Subject: [PATCH] fix b1039 - improper arrowhead on flat edges in undirected graphs --- lib/dotgen/dotsplines.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index 2f25119d5..5790df664 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -631,9 +631,10 @@ static graph_t* cloneGraph (graph_t* g) { Agsym_t* sym; - graph_t* auxg = agopen ("auxg", AGDIGRAPH); + graph_t* auxg; Agsym_t **list; + auxg = agopen ("auxg", AG_IS_DIRECTED(g)?AGDIGRAPH:AGRAPH); agraphattr(auxg, "rank", ""); GD_drawing(auxg) = NEW(layout_t); GD_drawing(auxg)->quantum = GD_drawing(g)->quantum; -- 2.50.1