]> granicus.if.org Git - graphviz/commitdiff
Fix bug#774 - extra </g> when invis edges.
authorellson <devnull@localhost>
Tue, 18 Oct 2005 19:04:59 +0000 (19:04 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 19:04:59 +0000 (19:04 +0000)
Reported by: Emmanuel Pietriga <emmanuel.pietriga@inria.fr>

lib/common/emit.c

index b2b760a7f9eccf0408b2b1da457c649caa29db01..8d947335735ad4079615068abb0151d7a30c7d75 100644 (file)
@@ -752,10 +752,8 @@ void emit_edge_graphics(GVJ_t * job, edge_t * e)
        styles = parse_style(style);
        sp = styles;
        while ((p = *sp++)) {
-           if (streq(p, "invis")) {
-               gvrender_end_edge(job);
+           if (streq(p, "invis"))
                return;
-           }
        }
     }
     xdemitState = EMIT_DRAW;