]> granicus.if.org Git - graphviz/commitdiff
Fix incorrect use of dtmatch in checking for duplicate cluster names.
authorEmden R. Gansner <erg@research.att.com>
Tue, 25 Mar 2014 13:15:39 +0000 (09:15 -0400)
committerEmden R. Gansner <erg@research.att.com>
Tue, 25 Mar 2014 13:15:39 +0000 (09:15 -0400)
lib/common/utils.c

index f55149786536f72432b7ea897582daa60487c0c1..c18890f7828a6569123139972be83a4a60610e49 100644 (file)
@@ -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 {