From 372e64c4cbeb0c6a4a1eb6cf7a093aae75c60bda Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Mon, 11 Aug 2014 15:40:40 -0400 Subject: [PATCH] Fix typo in check for record nodes in flat adjacent edges. --- lib/dotgen/dotsplines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index bcbf65d44..110bce38d 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -1185,7 +1185,7 @@ make_flat_adj_edges(graph_t* g, path* P, edge_t** edges, int ind, int cnt, edge_ static int warned; tn = agtail(e0), hn = aghead(e0); - if ((shapeOf(tn) == SH_RECORD) || (shapeOf(tn) == SH_RECORD)) { + if ((shapeOf(tn) == SH_RECORD) || (shapeOf(hn) == SH_RECORD)) { if (!warned) { warned = 1; agerr (AGWARN, "flat edge between adjacent nodes one of which has a record shape - replace records with HTML-like labels\n"); -- 2.50.1