]> granicus.if.org Git - graphviz/commitdiff
Fix bug 1138
authorerg <devnull@localhost>
Wed, 6 Jun 2007 18:09:41 +0000 (18:09 +0000)
committererg <devnull@localhost>
Wed, 6 Jun 2007 18:09:41 +0000 (18:09 +0000)
lib/dotgen/dotsplines.c

index 04609bef39ee698c7c69b27acc8d8642f54d3c51..44ef57d4970f6b9c8453e6087ffd146d1f20b3e3 100644 (file)
@@ -1019,7 +1019,7 @@ make_flat_labeled_edge(spline_info_t* sp, path* P, edge_t* e, int et)
     else {
        lb.LL.x = ND_coord_i(ln).x - ND_lw_i(ln);
        lb.UR.x = ND_coord_i(ln).x + ND_rw_i(ln);
-       lb.UR.y = ND_coord_i(ln).y - ND_ht_i(ln)/2;
+       lb.UR.y = ND_coord_i(ln).y + ND_ht_i(ln)/2;
        ydelta = ND_coord_i(ln).y - GD_rank(g)[ND_rank(tn)].ht1 -
                ND_coord_i(tn).y + GD_rank(g)[ND_rank(tn)].ht2;
        ydelta /= 6;