From: Emden R. Gansner Date: Fri, 21 Mar 2014 21:47:07 +0000 (-0400) Subject: Yet another old integer calculation removed. X-Git-Tag: 2.38.0~19^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9df450d7dc9453de23cd11716ab2252ffdca775;p=graphviz Yet another old integer calculation removed. --- diff --git a/lib/common/splines.c b/lib/common/splines.c index 295f008df..da29e86d9 100644 --- a/lib/common/splines.c +++ b/lib/common/splines.c @@ -385,11 +385,9 @@ void add_box(path * P, boxf b) * The extra space provided by FUDGE-2 prevents the edge from getting * too close the side of the node. * - * The HT2 macro is needed because dot calculates ht2 and ht1 of ranks using - * integers. */ #define FUDGE 2 -#define HT2(n) ((ROUND(ND_ht(n))+1)/2) +#define HT2(n) (ND_ht(n)/2) void beginpath(path * P, edge_t * e, int et, pathend_t * endp, boolean merge)