Commit 372e64c4 authored by Emden R. Gansner's avatar Emden R. Gansner

Fix typo in check for record nodes in flat adjacent edges.

parent f8833ed5
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment