]> granicus.if.org Git - graphviz/commitdiff
Fix logic test for warning. Warning should only be given if Concentrate == false
authorEmden Gansner <erg@research.att.com>
Mon, 16 Apr 2012 15:54:28 +0000 (11:54 -0400)
committerEmden Gansner <erg@research.att.com>
Mon, 16 Apr 2012 15:54:28 +0000 (11:54 -0400)
and the edge is not to be ignored

lib/common/postproc.c

index 65fc35f009a51a4f73d36e902691f1950a809025..1c8a0635dc88338b4726258ca64bcf906d00464a 100644 (file)
@@ -93,7 +93,7 @@ static void map_edge(edge_t * e)
     bezier bz;
 
     if (ED_spl(e) == NULL) {
-       if ((Concentrate == FALSE) || (ED_edge_type(e) != IGNORED))
+       if ((Concentrate == FALSE) && (ED_edge_type(e) != IGNORED))
            agerr(AGERR, "lost %s %s edge\n", agnameof(agtail(e)),
                  agnameof(aghead(e)));
        return;