From: Emden R. Gansner Date: Tue, 25 Mar 2014 13:15:39 +0000 (-0400) Subject: Fix incorrect use of dtmatch in checking for duplicate cluster names. X-Git-Tag: 2.38.0~16^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac83a2319af91a3c87bb37108dc3ecb2f2655a0d;p=graphviz Fix incorrect use of dtmatch in checking for duplicate cluster names. --- diff --git a/lib/common/utils.c b/lib/common/utils.c index f55149786..c18890f78 100644 --- a/lib/common/utils.c +++ b/lib/common/utils.c @@ -2003,7 +2003,7 @@ static void fillMap (Agraph_t* g, Dt_t* map) for (c = 1; c <= GD_n_cluster(g); c++) { cl = GD_clust(g)[c]; s = agnameof(cl); - if (dtmatch (map, &s)) { + if (dtmatch (map, s)) { agerr(AGWARN, "Two clusters named %s - the second will be ignored\n", s); } else {