From: Emden R. Gansner Date: Mon, 11 Aug 2014 19:40:40 +0000 (-0400) Subject: Fix typo in check for record nodes in flat adjacent edges. X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~178 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=372e64c4cbeb0c6a4a1eb6cf7a093aae75c60bda;p=graphviz Fix typo in check for record nodes in flat adjacent edges. --- 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");