]> granicus.if.org Git - graphviz/commitdiff
fix breakage
authorellson <devnull@localhost>
Wed, 15 Oct 2008 18:25:45 +0000 (18:25 +0000)
committerellson <devnull@localhost>
Wed, 15 Oct 2008 18:25:45 +0000 (18:25 +0000)
lib/common/output.c

index 79afc8433e86009eff9f6142cf65478b491e0a7e..993c73560b92476d99a613e016141d9526914df2 100644 (file)
@@ -167,7 +167,7 @@ void write_plain(GVJ_t * job, graph_t * g, FILE * f, boolean extend)
                }
            }
            if (ED_label(e)) {
-               fprintf(f, " %s", canon(agraphof(e),ED_label(e)->text));
+               fprintf(f, " %s", canon(agraphof(agtail(e)),ED_label(e)->text));
                printptf(f, ED_label(e)->pos);
            }
            fprintf(f, " %s %s\n", late_nnstring(e, E_style, "solid"),