From: erg Date: Wed, 6 Jun 2007 18:09:41 +0000 (+0000) Subject: Fix bug 1138 X-Git-Tag: LAST_LIBGRAPH~32^2~5549 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4bafa32c065db5802bff00f78487b00ed4666be;p=graphviz Fix bug 1138 --- diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index 04609bef3..44ef57d49 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -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;